.header-main {
    display: flex;
    align-items: center;
    height: 50px;
    box-shadow: 0px 1px 5px #dedede;
    padding: 0 10px;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    -webkit-appearance: none;
}

@media (min-width: 768px) {
    .header-main {
        height: 65px;
        padding: 0 20px;
    }
}

/* 左側logo css */
.header-logo {
    text-align: left;
    width: auto;
}

.header-logo img {
    height: 55px;
}

@media (min-width: 768px) {
    /* .header-logo img {
        width: 120px;
    } */
}


/*右側navbar css */
.header-menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    text-align: center;
}

.header-menu ul {
    border: none;
}

.header-menu ul>li .active {
    text-align: center;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 5px solid #3EE8AF !important;
}

.header-menu ul>li {
    text-align: center;
    margin: 10px 15px;
}

.header-menu ul>li>a {
    padding: 0px 0px 3px 0px;
}

.header-menu ul>li>a:hover {
    border: none !important;
    border-bottom: 5px solid #C4FDEA !important;
}

.header-menu ul>li>a:focus {
    border: none !important;
    border-bottom: 5px solid #3EE8AF !important;
}

.header-menu ul>li>a>.header-icon>* {
    width: 26px;
    height: 26px;
    background: none;
    color: #707070;
}

.header-menu ul>li>a>p {
    margin: 0px;
    font-size: 14px;
    color: #707070;
}

.header-menu ul>.dropdown {
    cursor: pointer;
}

.header-menu ul>.dropdown:hover .dropdown-menu {
    display: block;
    margin: 1px 0px 0px -25px;
}

.header-menu ul>li>.nav-link {
    border: none !important;
}

.header-menu ul>li>.dropdown-toggle::after {
    content: none;
}

.header-menu ul>li>.dropdown-menu {
    text-align: center;
    margin: 1px 0px 0px -25px;
    min-width: 100px;
    width: 100px;
}

.header-menu ul>li>.dropdown-menu>.dropdown-item {
    padding: 3px 20px;
}

.header-menu ul>li>.dropdown-menu>.dropdown-item:hover {
    background-color: #C4FDEA;
}

.header-menu ul>li>.dropdown-menu>.dropdown-item:active {
    background-color: #3EE8AF;
}

/* 手機板消息通知 */
.header-news-area {
    flex: 1;
    text-align: right;
}

.header-news {
    width: auto;
    padding: 10px 0;
}

.header-news .header-icon {
    display: inline;
}

.header-news .header-icon>* {
    width: 18px;
    height: 18px;
    background: none;
    color: #707070;
}

.header-right {
    margin-left: auto;
    display: flex;
}

/* 使用者標誌 */
.self_user {
    text-align: center;
    margin-right: 10px;
}

.self_user:hover {
    color: #1a73e8;
    cursor: pointer;
}

.self_user a[type="button"] {
    padding: 0;
}
