
html, body {
  margin: 0;
}

a {
  text-decoration: none;
  display:contents;
}

button {
  display:contents;
  padding: 0;
  border: none;
  background: none;
  outline: none;
  cursor:pointer;
}
@media (min-width:0px) and (max-width:1240px) {
  .headerProfileIcon {
    display: none;
  }

  .headerItemContainer{
    display: none;
    position: absolute;
    background-color: transparent;
    width: 100%;
    right: 0;
    height: 80vh;
    box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.4);
    top:100%;
    z-index: 2;
    font-size: 2vw;
    font-family: 'Noto Sans HK', sans-serif;
    overflow-y: scroll;
  }

  .headerContainerItem {
    position: relative;
    background-color: white;
    color: black;
    padding: 2.5vw;
    display: block;
    text-align: center;
    font-weight: 500;
    margin: -1px;
  }

  .dropDailyDownMenu {
    display: none;
    position: absolute;
    right: 0%;
    top:100%;
    width: 100%;
    min-width: 30vw;
    box-shadow: 0px 4px 8px 1px rgba(0,0,0,0.4);
    z-index: 1;
    font-size: 2vw;
    font-family: 'Noto Sans HK', sans-serif;
  }

  .dropDailyDownMenuItem {
    position: relative;
    color: rgb(96 96 96);
    padding: 2.5vw;
    display: block;
    text-align: center;
    font-weight: 500;
  }

  .dropDailyDownMenuItem:hover {
    background-color: rgb(89 108 165);
    color: white;
  }

  .showDailyDropDownMenu {
    display: block;
  }
  .dropDailyDownMenu:hover {
    display: block;
  }

  .dropAccountDownMenu {
    display: none;
    position: absolute;
    right: 0%;
    top:100%;
    width: 100%;
    min-width: 30vw;
    box-shadow: 0px 4px 8px 1px rgba(0,0,0,0.4);
    z-index: 1;
    font-size: 2vw;
    font-family: 'Noto Sans HK', sans-serif;
  }

  .dropAccountDownMenuItem {
    position: relative;
    color: rgb(96 96 96);
    padding: 2.5vw;
    display: block;
    text-align: center;
    font-weight: 500;
  }

  .dropAccountDownMenuItem:hover {
    background-color: rgb(89 108 165);
    color: white;
  }

  .dropAccountDownMenu:hover {
    display: block;
  }

  .showAccountDropDownMenu {
    display: block;
  }

  .dropDownMenu {
    display: none;
    position: absolute;
    right: 0%;
    top:100%;
    width: 100%;
    min-width: 30vw;
    box-shadow: 0px 4px 8px 1px rgba(0,0,0,0.4);
    z-index: 1;
    font-size: 2vw;
    font-family: 'Noto Sans HK', sans-serif;
  }

  .dropDownMenuItem {
    position: relative;
    color: rgb(96 96 96);
    padding: 2.5vw;
    display: block;
    text-align: center;
    font-weight: 500;
  }

  .dropDownMenuItem:hover {
    background-color: rgb(89 108 165);
    color: white;
  }

  .showDropDownMenu {
    display: block;
  }
  .dropDownMenu:hover {
    display: block;
  }

  .headerContainerItem:hover {
    font-weight: 700;
    background-color: rgb(89 108 165);
    color: white;
  }

  .headerContainerItem:hover > i {
    transform: rotate(180deg);
  }


  .headerContainerItem--selected {
    font-weight: 700;
  }

  .nestedMenu {
    display: none;
    position: absolute;
    right: 0%;
    top:100%;
    width: 100%;
    min-width: 30vw;
    box-shadow: 0px 4px 8px 1px rgba(0,0,0,0.4);
    z-index: 1;
    float: none;
    font-size: 2vw;
    font-family: 'Noto Sans HK', sans-serif;
  }

  .nestedMenuItem {
    float: none;
    position: relative;
    color: black;
    padding: 2.5vw;
    display: block;
    text-align: center;
    font-weight: 500;
  }

  .nestedMenuItem:hover {
    background-color: rgb(89 108 165);
    color: white;
  }

  .showNestedMenu {
    display: block;
  }
  .nestedMenu:hover {
    display: block;
  }

  .hamburgerButton > i {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-left: 6vw;
    padding: 5vw 6vw 5vw 6vw;
    font-size: 3vw;
  }

  .hamburgerButton:hover {
    background-color: rgb(89 108 165);
    color: white;
  }

  .showHeaderItemContainer {
    display: block;
  }

  .headerItemContainer:hover {
    display: block;
  }

  .headerBar {
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 12vw;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
  }
  .headerIcon {
    flex : none;
    height: 100%;
    width: auto;
    padding: 0.5% 1% 0.5% 5%;
    align-items: center;
    box-sizing: border-box;
  }
  .headerIcon > img {
    width: auto;
    height: 100%;
  }
}

@media (min-width:1240px) {
  .headerBar {
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
  }
  .headerIcon {
    flex : none;
    height: 100%;
    width: auto;
    padding: 5px 20px 5px 75px;
    align-items: center;
    box-sizing: border-box;
  }
  .headerIcon > img {
    width: auto;
    height: 100%;
  }
  .hamburgerButton {
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: auto;
  }
  .hamburgerButton > i {
    display:none;
  }

  .headerItemContainer{
    display: flex;
    align-items: center;
    height: 100%;
    width: auto;
    margin-right: 20px;
    flex: 1 1 0;
  }

  .headerContainerItem {
    position: relative;
    white-space: nowrap;
    margin: 20px 32px;
    padding: 12px 0px;
    font-size: 16px;
    font-family: 'Noto Sans HK', sans-serif;
    font-weight: 500;
  }

  .headerContainerItem:hover {
    font-weight: 700;
  }
  .headerContainerItem:hover > i {
    transform: rotate(180deg);
  }

  .headerContainerItem--selected {
    font-weight: 700;
  }

  .dropDailyDownMenu {
    display: none;
    position: absolute;
    top:100%;
    min-width: 160px;
    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.4);
    font-size: 16px;
    font-family: 'Noto Sans HK', sans-serif;
  }

  .dropDailyDownMenuItem {
    position: relative;
    color: black;
    padding: 20px 16px;
    display: block;
    text-align: center;
    font-weight: 500;
  }

  .dropDailyDownMenuItem:hover {
    background-color: rgb(89 108 165);
    color: white;
  }

  .headerContainerItem:hover > .dropDailyDownMenu {
    display: block;
  }

  .dropAccountDownMenu {
    display: none;
    position: absolute;
    top:100%;
    right:30%;
    min-width: 160px;
    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.4);
    font-size: 16px;
    font-family: 'Noto Sans HK', sans-serif;
  }

  .dropAccountDownMenuItem {
    position: relative;
    color: black;
    padding: 20px 16px;
    display: block;
    text-align: center;
    font-weight: 500;
  }

  .dropAccountDownMenuItem:hover {
    background-color: rgb(89 108 165);
    color: white;
  }

  .headerContainerItem:hover > .dropAccountDownMenu {
    display: block;
  }

  .dropDownMenu {
    display: none;
    position: absolute;
    top:100%;
    min-width: 160px;
    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.4);
    font-size: 16px;
    font-family: 'Noto Sans HK', sans-serif;
  }

  .dropDownMenuItem {
    position: relative;
    color: black;
    padding: 20px 16px;
    display: block;
    text-align: center;
    font-weight: 500;
  }

  .dropDownMenuItem:hover {
    background-color: rgb(89 108 165);
    color: white;
  }

  .headerContainerItem:hover > .dropDownMenu {
    display: block;
  }

  .nestedMenu {
    display: none;
    position: absolute;
    left: 100%;
    top:0%;
    min-width: 160px;
    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.4);
    z-index: 1;
    float: none;
    font-size: 16px;
    font-family: 'Noto Sans HK', sans-serif;
  }

  .nestedMenuItem {
    float: none;
    position: relative;
    color: black;
    padding: 20px 16px;
    display: block;
    text-align: center;
    font-weight: 500;
  }

  .nestedMenuItem:hover {
    background-color: rgb(89 108 165);
    color: white;
  }

  .dropAccountDownMenuItem:hover > .nestedMenu {
    display: block;
  }

  .dropDailyDownMenuItem:hover > .nestedMenu {
    display: block;
  }

  .dropDownMenuItem:hover > .nestedMenu {
    display: block;
  }

  .nestedMenuItem:hover > .nestedMenu {
    display: block;
  }

  .headerProfileIcon {
    display: flex;
    flex: none;
    height: 40px;
    width: auto;
    align-items: center;
    box-sizing: border-box;
  }

  .headerProfileIcon > img {
    width: auto;
    height: 100%;
  }

  .headerProfileText {
    display: none;
  }
}
