﻿.app-header {
    width: 100%;
    position: relative;
    z-index: 10100;
    font-size: 16px;
    font-family: TTNormsProNormal, Segoe UI, system-ui, sans-serif;
    font-weight: 500;
    line-height: 120%;
    height: 90px;
}

.header-container {
    border-bottom: 1px solid #dadce0;
    background-color: #fff;
    display: flex;
    width: 100%;
    height: 90px;
    flex-wrap: wrap;
    position: relative;
}

.header-top {
    border-bottom: 1px solid #dcdcdc;
    height: 40px;
    line-height: 40px;
    width: 100%;
}

.menu-box {
    margin: 0 auto;
    max-width: 1236px;
    width: 100%;
    box-sizing: border-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

.menu-about {
    float: left;
    font-size: 1rem;
    font-family: TTNormsProNormal, Segoe UI, system-ui, sans-serif;
    line-height: 120%;
    color: #4d4d4d;
    height: 40px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.menu-about a {
    color: #4d4d4d;
    text-decoration: none;
}

.menu-about a:hover,
.dropdown-contents a:hover {
    color: #13547a;
    text-decoration: underline;
}

.menu-contact {
    float: right;
    cursor: pointer;
    position: relative;
    font-size: 1rem;
    font-family: TTNormsProNormal, Segoe UI, system-ui, sans-serif;
    line-height: 120%;
    color: #4d4d4d;
    height: 40px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.header-ph {
    padding: 0 10px;
}

.header-separator {
    padding-right: 10px;
    font-size: 18px;
    font-weight: 300;
}

.menu-contact::after hover {
    color: #13547a;
}

.contact-title {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.contact-title:hover {
    color: #13547a;
}

.contact-title svg {
    margin-right: 8px;
    width: 24px;
}

.contact-title:hover svg path {
    stroke: #13547a;
}

.contact-title:hover svg rect {
    fill: #13547a;
}

.contact-dropdown {
    display: none;
    right: 0;
    border-radius: 16px;
    padding: 16px 24px;
    background: #fff;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1);
    height: auto;
    position: absolute;
    top: 35px;
    font-size: 1rem;
    font-family: TTNormsProNormal, Segoe UI, system-ui, sans-serif;
    line-height: 120%;
    color: #666;
    z-index: 130;
    white-space: nowrap;
}

.menu-contact:hover .contact-dropdown {
    display: block;
}

.dropdown-contents {
    color: #4d4d4d;
    display: block;
    padding-block: 6.5px;
    width: 100%;
    font-size: 1rem;
    font-family: TTNormsProNormal, Segoe UI, system-ui, sans-serif;
    line-height: 120%;
    cursor: pointer;
}

.dropdown-contents a {
    color: #4d4d4d;
    text-decoration: none;
}

.header-main {
    line-height: 50px;
    width: 100%;
}

.header-title {
    font-size: 32px;
    float: left;
    cursor: pointer;
    margin-inline-end: 48px;
    height: 50px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.header-title a {
    color: #13547a;
    text-decoration: none;
}

.header-title:hover a {
    color: #002e52;
}

.menu-item-bar {
    display: inline-flex;
}

.menu-item {
    cursor: default;
    float: left;
    outline: none;
    margin-inline-end: 32px;
    position: relative;
    color: #181818;
}

.menu-item.active {
    border-bottom: 2px solid #181818;
    box-sizing: border-box;
    height: 50px;
}

.menu-item-title {
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    position: relative;
}

.menu-item-icon {
    display: none;
}

.menu-item-dropdown {
    display: none;
    left: -40px;
    background-color: #fff;
    padding: 32px 40px;
    cursor: auto;
    position: absolute;
    z-index: 100;
    top: 50px;
    width: 300px;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.header-product .menu-item-dropdown {
    left: 0px;
}

.menu-item-dropdown.active {
    display: flex;
}

.menu-right {
    float: right;
    display: flex;
    grid-gap: 20px;
}

.menu-search {
    cursor: pointer;
    height: 60px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.menu-search a {
    color: #4d4d4d;
    text-decoration: none;
}

.menu-search:hover svg {
    stroke: #181818;
}

.mobile-menu-bar {
    cursor: pointer;
    display: none;
    height: 50px;
    -webkit-box-align: center;
    align-items: center;
    position: relative;
}

.mobile-menu-view {
    background-image: url(https://dlcdnimgs.asus.com/images/icon/header_hamburger_light_normal.svg);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 24px;
}

.mobile-menu {
    display: none;
}

@media screen and (max-width: 1024px) {
    .app-header {
        height: 47px;
    }
    .header-container {
        height: 47px;
    }
    .header-top {
        display: none;
    }
    .header-main {
        padding: 0 16px;
        background: #fff;
        border-bottom: 1px solid #ccc;
        position: relative;
        line-height: 170%;
        height: 48px;
        box-sizing: border-box;
        display: flex;
        z-index: 120;
        -webkit-box-pack: justify;
        justify-content: space-between;
    }
    .header-title {
        font-size: 28px;
        height: 48px;
    }
    .menu-item-bar {
        left: 0;
        background-color: #fff;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 48px;
        width: 100%;
        z-index: 120;
        height: calc(100vh - 48px);
        overflow: hidden;
        overflow-y: auto;
        box-sizing: border-box;
        padding-block: 16px;
    }
    .menu-item-bar.active {
        opacity: 1;
        visibility: initial;
    }
    .menu-item {
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .menu-item-title {
        cursor: pointer;
        -webkit-box-align: center;
        align-items: center;
        height: 48px;
        padding-inline: 16px 22px;
    }
    .menu-item-icon {
        float: right;
        display: block;
        font-size: 24px;
        font-weight: 400;
    }
    .menu-item-plus {
        display: none;
        font-size: 24px;
        font-weight: 400;
    }
    .menu-item-minus {
        display: none;
        font-size: 40px;
        font-weight: 200;
    }
    .menu-item-plus.active {
        display: flex;
    }
    .menu-item-minus.active {
        display: flex;
    }
    .menu-item-dropdown {
        left: 0;
        padding: 16px 24px;
        background-color: #f2f4f7;
        position: relative;
        top: 0;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        width: 100%
    }
    .dropdown-contents {
        padding-block: 9.5px;
        box-sizing: border-box;
        font-size: 16px;
    }
    .menu-right {
        float: right;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
        grid-gap: 0;
        height: 43px;
        margin-top: 5px;
    }
    .menu-search {
        cursor: pointer;
        height: 43px;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
    }
    .mobile-menu-bar {
        margin-left: 16px;
        cursor: pointer;
        display: flex;
        height: 43px;
        position: relative;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        align-items: center;
    }
    .mobile-menu-open {
        display: none;
    }
    .mobile-menu-close {
        display: none;
    }
    .mobile-menu-open.active {
        display: block;
    }
    .mobile-menu-close.active {
        display: block;
    }
    .mobile-menu {
        display: block;
    }
    .mobile-menu .menu-item-dropdown {
        padding: 0 0 0 24px;
        background-color: #fff;
        left: 0;
        display: flex !important;
    }
    .menu-item-title a {
        color: #181818;
        text-decoration: none;
    }
}