﻿.home-header {
    position: absolute;
    top: 0;
    z-index: 900;
    width: 100%;
    height: 180px;
    padding: 50px 9.9%;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
    transition-property: background, height, padding;
    transition-duration: 0.3s;
    /*    temporary    */
    /*background: rgba(28, 28, 28, 0.95);*/
}

    .home-header.fixed,
    .home-header.scrolled {
        height: 80px;
        /*padding: 12.5px 190px;*/
        padding-top: 16.38px;
        padding-bottom: 16.38px;
        box-shadow: 0 2px 8px 0 rgba(0,0,0,0.09);
        background: rgba(0, 4, 28, 0.85);
    }

    .home-header.relative {
        position: relative;
    }

    .home-header.active-menu {
        height: 100vh;
        background: rgba(28, 28, 28, 0.95);
        /*padding: 47px 190px;*/
        /*padding-top: 47px;
        padding-bottom: 47px;*/
    }

    .home-header .header-container {
        width: 100%;
        flex: 0 0 auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding-top: 4px;
    }

    .home-header .logo {
        margin-right: auto;
        width: auto;
        flex-direction: row;
        display: flex;
    }

        .home-header .logo .hx-logo {
            width: auto;
            height: 60px;
            max-height: 100%;
            max-width: 100%;
            object-fit: contain;
            padding-right: 24px;
        }

            .home-header .logo .hx-logo.svg {
                filter: invert(100%);
            }

                .home-header .logo .hx-logo.svg.replaced-svg {
                    filter: none;
                    fill: #fff;
                }

        .home-header .logo .ax-logo {
            width: auto;
            height: 40px;
            max-height: 100%;
            max-width: 100%;
            object-fit: contain;
            padding-right: 24px;
        }

    .home-header a {
        text-decoration: none;
        cursor: pointer;
    }

        .home-header a.icon {
            float: right;
            display: block;
            color: #fff;
        }

            .home-header a.icon .bar-1 {
            }

            .home-header a.icon .fa {
                font-size: 26.19px;
            }

            .home-header a.icon .svg {
                filter: invert(100%);
            }

                .home-header a.icon .svg.replaced-svg {
                    filter: none;
                    fill: #fff;
                }

    .home-header .topnav {
        margin: auto 13.58%;
        max-width: 100%;
        flex: 0 0 auto;
        opacity: 0;
        display: flex;
        flex-direction: column;
        color: #fff;
        transition-duration: 0.2s;
        transition-delay: 0.3s;
        /*overflow-y: auto;*/
        overflow: hidden;
    }

        .home-header .topnav .topnav-content {
            display: flex;
            flex-direction: column;
            margin: auto 10px;
            overflow-y: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

            .home-header .topnav .topnav-content::-webkit-scrollbar {
                width: 0;
                height: 0;
            }

        .home-header .topnav p a {
            font-size: 0.94vw;
        }

        .home-header .topnav a {
            margin-left: auto;
            font-family: roboto-bold;
            font-size: 1.77vw;
            color: #fff;
            cursor: pointer;
            margin-bottom: 29px;
            transition: 0.3s;
        }

            .home-header .topnav a:last-child {
                margin-bottom: 0;
            }

            .home-header .topnav a:not([disabled]):hover {
                color: #3b6fff;
            }

            .home-header .topnav a[disabled] {
                cursor: auto;
                opacity: 0.5;
            }

        .home-header .topnav .centered {
            width: 100%;
            flex: 0 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 1.93vw;
        }

        .home-header .topnav .divider {
            margin: 3.02vw 0 4.17vw auto;
            width: 1.15vw;
            height: 0;
            border: 0.0521vw solid #fff;
        }

        .home-header .topnav h3 {
            font-family: roboto-bold;
            font-size: 2.08vw;
            color: #fff;
            margin-bottom: 2.76vw;
        }

        .home-header .topnav h4 {
            font-family: roboto-medium;
            font-size: 1.56vw;
            color: #fff;
            margin-bottom: 1.93vw;
        }

        .home-header .topnav .approved-installer {
            width: 14.17vw;
            height: auto;
            flex: 0 0 auto;
        }

        .home-header .topnav p {
            font-family: roboto-light;
            font-size: 1.25vw;
            color: #fff;
            margin-bottom: 1.93vw;
        }

        .home-header .topnav ul {
            margin-bottom: 1.93vw;
        }

            .home-header .topnav ul li {
                font-family: roboto-light;
                font-size: 1.25vw;
                color: #fff;
            }

        .home-header .topnav .email {
            transition: 0.3s;
            cursor: pointer;
        }

            .home-header .topnav .email:hover {
                color: #3b6fff;
            }

        .home-header .topnav p.quote {
            font-family: Roboto-light;
            font-style: italic;
            font-size: 1.67vw;
            text-align: center;
        }

        .home-header .topnav p:last-child {
            margin-bottom: 0;
        }

        .home-header .topnav .contact {
            width: auto;
            font-family: roboto-regular;
            font-size: 1.25vw;
            color: #fff;
            margin: 0;
        }

            .home-header .topnav .contact.address {
                color: #b4b4b4;
            }

            .home-header .topnav .contact.break-point {
                margin-bottom: 3.85vw;
            }

            .home-header .topnav .contact .email {
                transition: 0.3s;
                cursor: pointer;
            }

                .home-header .topnav .contact .email:hover {
                    color: #3b6fff;
                }

    .home-header #privacy.topnav h4,
    .home-header #privacy.topnav p,
    .home-header #privacy.topnav ul,
    .home-header #cookies.topnav h4,
    .home-header #cookies.topnav p,
    .home-header #cookies.topnav ul {
        font-size: 0.94vw;
        margin-top: 0;
        margin-bottom: 1.25vw;
    }

        .home-header #privacy.topnav ul li,
        .home-header #cookies.topnav ul li {
            font-size: 0.94vw;
        }

        .home-header #privacy.topnav ul:last-child,
        .home-header #cookies.topnav ul:last-child {
            margin-bottom: 0;
        }

    .home-header #cookies.topnav .table-container {
        width: 100%;
        height: auto;
        flex: 0 0 auto;
        border-radius: 0.26vw;
        border: 1px solid #707070;
        margin-bottom: 2.5vw;
    }

    .home-header #cookies.topnav table {
        width: 100%;
        height: auto;
        flex: 0 0 auto;
        background: #434343;
        font-family: roboto-light;
        font-size: 0.94vw;
        color: #fff;
    }

        .home-header #cookies.topnav table tr:first-child {
            font-family: roboto-medium;
        }

        .home-header #cookies.topnav table tr:nth-child(even) {
            background: #282828;
        }

        .home-header #cookies.topnav table tr td {
            border-left: 1px solid #707070;
            border-right: 1px solid #707070;
            padding: 0.52vw 0.89vw;
        }

            .home-header #cookies.topnav table tr td:first-child {
                border-left: none;
            }

            .home-header #cookies.topnav table tr td:last-child {
                border-right: none;
            }

    .home-header #homePage.topnav {
        align-items: center;
        margin-top: 4.17vw;
        margin-bottom: auto;
    }

        .home-header #homePage.topnav h1 {
            font-family: roboto-regular;
            font-size: 3.125vw;
            margin: 0;
            margin-bottom: 48px;
        }

        .home-header #homePage.topnav h5 {
            font-family: roboto-regular;
            font-size: 1.77vw;
            margin: 0;
            margin-bottom: 45px;
        }

    .home-header .topnav :last-child:not(.topnav-content) {
        margin-bottom: 0;
    }

    .home-header .bottom-section {
        width: 100%;
        display: flex;
        flex-direction: row;
        opacity: 0;
        transition-delay: 0.3s;
        transition-duration: 0.3s;
    }

        .home-header .bottom-section :first-child {
            margin-right: auto;
        }

    .home-header .copyright {
        font-family: roboto-regular;
        font-size: 1.04vw;
        color: #fff;
    }

    .home-header .scroll-arrow-container {
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

        .home-header .scroll-arrow-container .arrow {
            width: 17.68px;
            height: 17.68px;
            border-right: 1.5px solid #fff;
            border-bottom: 1.5px solid #fff;
        }

            .home-header .scroll-arrow-container .arrow:first-child {
                margin-top: -12.5px;
            }

        .home-header .scroll-arrow-container:hover .arrow {
            border-right: 1px solid #3b6fff;
            border-bottom: 1px solid #3b6fff;
        }

    .home-header .social-icon {
        opacity: 0;
        margin-left: 2.86vw;
        width: 2.08vw;
        height: 2.08vw;
        flex: 0 auto;
        cursor: pointer;
        transition-property: opacity;
        transition-duration: 0.3s;
    }

    .home-header.active-menu .social-icon {
        transition-delay: 0.3s;
        opacity: 1;
    }

    .home-header .social-icon .svg {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        filter: invert(100%);
        transition: 0.3s;
    }

        .home-header .social-icon .svg.replaced-svg {
            filter: none;
            fill: #fff;
        }

            .home-header .social-icon .svg.replaced-svg:hover {
                fill: #3b6fff;
            }

    .home-header.active-menu .topnav {
        flex: 1 auto;
        opacity: 1;
    }

    .home-header.active-menu .bottom-section {
        opacity: 1;
    }

    .home-header:not(.active-menu) {
        transition-delay: 0.3s;
    }

        .home-header:not(.active-menu) .topnav,
        .home-header:not(.active-menu) .bottom-section {
            transition-delay: 0s;
        }

.home-header-backdrop {
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
    height: 169px;
    background-repeat: no-repeat;
    background-position: top;
    background-attachment: fixed;
    background-size: cover;
    background-image: url('/images/aptyx/2023 Aptyx BG.jpg');
    z-index: 850;
    transition-property: height, opacity;
    transition-duration: 0.3s;
}

    .home-header-backdrop.fixed,
    .home-header-backdrop.scrolled {
        height: 100px;
    }

    .home-header-backdrop.active-menu {
        height: 100vh;
        opacity: 1;
    }

    .home-header-backdrop.img2 {
        background-image: url('/images/home/Programmer Working-1.1.jpg');
    }

    .home-header-backdrop:not(.active-menu, .scrolled, .fixed) {
        transition-delay: 0.3s;
    }

@media only screen and (max-width: 992px) {
    .home-header {
        height: 115px;
        padding: 35px 50px;
    }

        .home-header .logo {
            max-height: 45px;
            display: flex;
        }

            .home-header .logo .ax-logo {
                max-height: 100%;
                max-width: 127.27px;
            }

        .home-header .topnav {
            margin: auto 0;
            overflow-y: auto;
        }

            .home-header .topnav .topnav-content {
                display: flex;
                flex-direction: column;
                margin: auto 0;
            }

            .home-header .topnav a {
                font-size: 4.53vw;
                margin-bottom: 3.57vw;
            }

            .home-header .topnav .centered {
                width: 100%;
                flex: 0 0 auto;
                display: flex;
                flex-direction: column;
                align-items: center;
                margin-bottom: 4.72vw;
            }

            .home-header .topnav .divider {
                margin: 13.93vw 0 12.73vw auto;
                width: 5.87vw;
                border-width: 0.27vw;
            }

            .home-header .topnav h3 {
                font-size: 5.33vw;
                margin-top: 0;
                margin-bottom: 7.07vw;
            }

            .home-header .topnav .approved-installer {
                width: 45.33vw;
            }

            .home-header .topnav p {
                font-family: roboto-light;
                font-size: 3.2vw;
                color: #fff;
                margin-bottom: 4.27vw;
            }

                .home-header .topnav p.quote {
                    font-size: 4.27vw;
                }

                .home-header .topnav p:last-child {
                    margin-bottom: 0;
                }

            .home-header .topnav .contact {
                font-size: 3.2vw;
            }

                .home-header .topnav .contact.break-point {
                    margin-bottom: 9.87vw;
                }

        .home-header #privacy.topnav,
        .home-header #cookies.topnav {
            margin-top: 7.07vw
        }

            .home-header #privacy.topnav h4,
            .home-header #privacy.topnav p,
            .home-header #privacy.topnav ul,
            .home-header #cookies.topnav h4,
            .home-header #cookies.topnav p,
            .home-header #cookies.topnav ul {
                font-size: 2.4vw;
                margin-bottom: 3.2vw;
            }

                .home-header #privacy.topnav ul li,
                .home-header #cookies.topnav ul li {
                    font-size: 2.4vw;
                }

                .home-header #privacy.topnav ul:last-child,
                .home-header #cookies.topnav ul:last-child {
                    margin-bottom: 0;
                }

        .home-header .bottom-section {
            width: 100%;
            min-height: 45px;
            display: flex;
            flex-direction: row;
            align-items: center;
            opacity: 0;
            transition-delay: 0.3s;
            transition-duration: 0.3s;
            justify-self: flex-end
        }

            .home-header .bottom-section :first-child {
                margin-right: auto;
            }

        .home-header .copyright {
            font-family: roboto-regular;
            font-size: 3.2vw;
            color: #fff;
        }

        .home-header.fixed,
        .home-header.scrolled {
            /*padding-top: 4.37vw;*/
            /*padding-bottom: 4.37vw;*/
            height: 75px;
            padding-top: 15px;
            padding-bottom: 15px;
        }

        .home-header.relative {
            position: relative;
        }

        .home-header.active-menu {
            height: 100%;
            background: rgba(28, 28, 28, 0.95);
        }
}
