.menu-item {
  padding-top: 0;
}

.main-menu-branch ::marker {
  content: "";
}

.main-menu-branch ul {
  margin-bottom: 0;
}

#navigation {
  position: relative;
  /* position: -webkit-sticky;
  position: sticky; */
  top: 0;
  z-index: 100;
}

.main-menu-mega {
  background-color: #0E3E67;
  /* margin-bottom: 1rem; */
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: 300;
}

@media only screen and (max-width: 768px) {
  .main-menu-mega {
    background-color: white;
    min-height: 100vh;
  }
}

.main-menu-mega .nav {
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}

.main-menu-mega .nav-main>li {
  padding-top: 0;
}

.main-menu-mega .nav-main li {
  list-style: none !important;
}

.main-menu-mega .nav-item-depth-1,
.main-menu-mega .nav-item-depth-1>.menu__link,
.main-menu-mega .nav-item-depth-2>.menu__link {
  display: none;
}

.main-menu-mega .nav-item-depth-1.menu-item--active-trail {
  /* .main-menu-mega > .branch-dropdown-menu:NOT(.is-active-menu) .nav-item-depth-1:first-child  { */
  display: block;
  min-width: 100%;
}

.main-menu-mega .nav-item-depth-1>.branch-dropdown-menu {
  display: block;
}

.main-menu-mega .col-preview {
  display: none;
}



/* .main-menu-mega .nav-item-depth-2{
  flex: 1 1 auto!important;
} */
.main-menu-mega .menu-item--active-trail .nav-item-depth-2>.menu__link {
  /* .main-menu-mega > .branch-dropdown-menu:NOT(.is-active-menu) .nav-item-depth-1:first-child .nav-item-depth-2 > .menu__link{ */
  display: inline-block;
}

.main-menu-mega ul.menu a.is-active {
  color: #fff;
  font-weight: 400;
}



.main-menu-mega a.menu__link {
  color: #fff;
  text-decoration: none;
  padding: 0 .5rem;
  position: relative;
  vertical-align: middle;
  line-height: 1.4em;
}
@media only screen and (max-width: 768px) {

  .main-menu-mega ul.menu a.is-active,
  .main-menu-mega a.menu__link {
    color: #013865;
  }
}
.main-menu-mega .nav-item-depth-2 .branch-dropdown-menu {
  display: none;
}

.main-menu-mega .nav-item-depth-2:first-child .menu__link {
  padding-left: 1rem;
}

.main-menu-mega .nav-item-depth-2:last-child .menu__link {
  padding-right: 1rem;
}

.main-menu-mega .nav-item-depth-3 .menu__link {
  padding: 0 1rem;
  display: inline-block;
}

.main-menu-mega .nav-main .nav-item-depth-3.menu-item--active-trail a {
  font-weight: 400;
  color: #fff;
}

.main-menu-mega .nav-item-depth-2>.branch-dropdown-menu .nav {
  -ms-flex-direction: column;
  flex-direction: column;
}

.main-menu-mega .nav-item-depth-2>.branch-dropdown-menu li {
  margin: 6px 0;
  margin: 4px 0;
}

.main-menu-mega .nav-item-depth-2>.branch-dropdown-menu li .menu__link {
  font-size: 18px;
  height: auto;
  line-height: 1.4em;
}

.main-menu-mega .nav-item-depth-2 .col-menu {
  min-width: 30%;
  max-width: 30%;
  padding-right: 1rem;
  border-right: 1px #196aaf solid;
  line-height: 1.6rem;
}

.main-menu-mega .nav-item-depth-2 .col-preview {
  padding: 1rem;
  width: 70%;
  line-height: 1.6rem;
  display: block;
}

.mobile-menu-btn-wrap {
  position: absolute;
  right: .5rem;
  top: .5rem;
  display: none;
}

.path-frontpage .mobile-menu-btn-wrap {
  display: none !important;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  background: #7f7f7f !important;
}

.mobile-child-ui {
  display: none;
}

.mobile-child-close {
  color: #fff;
  cursor: pointer;
}

.mobile-child-label {
  color: #fff;
  font-size: 22px;
  padding-top: .5rem;
  font-weight: 400;
}

.mobile-child-label .mobile-icon {
  display: none !important;
}

.mobile-branch-switch-pos {
  display: none;
  background: #fff;
  margin-bottom: 5px;
}

.mobile-branch-switch-pos .branch-switch {
  display: none;
  border-bottom: 5px #00a1d0 solid;
  position: relative;
}

body:not(.section-for-supporters-advocates) .main-menu-mega .branch-supporter,
body:not(.section-for-patients-caregivers) .main-menu-mega .branch-pc,
body:not(.section-screening-for-lung-cancer) .main-menu-mega .branch-screening {
  display: -ms-flexbox;
  display: flex;
}

.mobile-branch-switch-pos .branch-switch-img {
  /* max-width: 200px; */
  /* min-width: 200px; */
  /* height: 150px; */
  /* position: relative; */
  mix-blend-mode: multiply;
  opacity: .4;
  display: none;
}

.mobile-branch-switch-pos .branch-switch::before {
  /* content:""; */
  /* background: #00a1d0; */
  position: absolute;
  top: 0;
  left: 0;
  /* width: 200px; */
  height: 100%;
}

.mobile-branch-switch-pos .branch-supporter .branch-switch-img {
  background: url(../../images/lp-supporter-advocate.jpg);
  background-size: cover;
}

.mobile-branch-switch-pos .branch-pc .branch-switch-img {
  background: url(../../images/lp-patient-caregiver.jpg);
  background-size: cover;
}

.mobile-branch-switch-pos .branch-screening .branch-switch-img {
  background: url(../../images/lp-screening-for-lung-cancer.jpg);
  background-size: cover;
}

.mobile-branch-switch-pos .branch-switch-img img {
  display: block;
}

.mobile-branch-switch-pos .branch-switch-txt {
  padding: .75rem;
}

.mobile-branch-switch-pos .branch-switch-label a {
  font-size: 21px;
  line-height: 1.4em;
  text-decoration: none;
  color: #00AFD7;
}

.main-menu-mega .search-form {
  display: none;
}

.main-menu-mega .mobile-icon {
  background: rgb(48, 186, 235);
  background: linear-gradient(180deg, rgba(48, 186, 235, 1) 0%, rgba(35, 164, 225, 1) 100%);
  width: 34px;
  height: 34px;
  display: block;
  text-align: center;
  border-radius: 50%;
  float: right;
  display: none;
}

.main-menu-mega .nav-item-depth-2.menu-item--expanded>a::after {
  display: inline-block;
  content: "";
  vertical-align: -.125em;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-chevron-down' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
  background-repeat: no-repeat;
  background-size: 1rem 1rem;
  width: 1rem;
  height: 1rem;
  margin-left: 4px;
}

@media (max-width: 767.98px) {
  .main-menu-mega .nav-item-depth-2.menu-item--expanded>a::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-chevron-right' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/></svg>");
  }

  #navigation {
    position: relative;
  }

  .main-menu-mega {
    display: none;
  }

  .main-menu-mega.show {
    display: block;
    position: absolute;
    width: 100%;
    overflow: hidden;
    -webkit-animation: fadeIn .3s;
    animation: fadeIn .3s;
  }

  .main-menu-mega .nav-main .nav-item-depth-2:hover {
    background: rgba(1, 33, 45, 0.09);
    background: #0E3E67;
  }

  .main-menu-mega .nav-main .nav-item-depth-3:hover {
    background: #b7e1f1;
  }

  .main-menu-mega .nav {
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .mobile-menu-btn-wrap {
    display: block;
  }

  .main-menu-mega .mobile-icon {
    display: block;
  }

  .main-menu-mega .desktop-icon {
    display: none !important;
  }

  .main-menu-mega>.branch-dropdown-menu>.search-form {
    display: block;
    margin: 1rem;
  }

  .main-menu-mega>.branch-dropdown-menu>.mobile-branch-switch-pos {
    display: block;
    position: relative;
    z-index: 2;
  }

  .main-menu-mega .search-form .custom-search-box {
    width: 100%;
    padding: .5rem;
  }

  .main-menu-mega .search-form .form-submit {
    position: absolute;
    right: 22px;
    top: 16px;
  }

  .main-menu-mega .nav-item-depth-2>.branch-dropdown-menu {
    position: absolute;
    top: 0;
    width: 100%;
    left: 100%;
  }

  .nav-item-depth-2 {
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding: 0 .5rem;
  }

  .main-menu-mega .nav-item-depth-2>.menu__link {
    /* display: block; */
    min-width: 100%;
    padding: .5rem 0 !important;
    border-bottom: 1px solid #fff;
    font-size: 24px;
  }

  .main-menu-mega .nav-item-depth-3>.menu__link {
    font-size: 24px !important;
  }

  .main-menu-mega .nav-item-depth-2:last-child a {
    border: none;
  }

  .nav-item-depth-2>.branch-dropdown-menu {
    min-width: 100%;
  }

  .main-menu-mega .nav-item-depth-2 .col-menu {
    min-width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .main-menu-mega .col-preview {
    display: none !important;
  }

  .main-menu-mega .nav-item-depth-2.SHOW-MOBILE>.branch-dropdown-menu {
    display: -ms-flexbox;
    display: flex;
  }

  .nav-main {
    transition: all .3s;
  }

  .nav-main.OPENED {
    transform: translateX(-100%);
    transform: translateX(-50%);
  }

  .main-menu-mega .nav-item-depth-2 .mobile-child-ui {
    /* display: -ms-flexbox;
    display: flex; */
    display: block;
    padding: .75rem;
  }

  .main-menu-mega .nav-item-depth-2>.branch-dropdown-menu li {
    background: #c4e9f7;
    margin: 0;
    border-bottom: #fff solid 1px;
  }

  .main-menu-mega .nav-item-depth-2>.branch-dropdown-menu li a {
    width: 100%;
    padding: .5rem;
    color: #05a3e0;
  }
}

@media (min-width: 768px) {
  .main-menu-mega .nav-item-depth-2 {
    border-bottom: 5px #0E3E67 solid;
    transition: all .8s;
    height: 64px;
    line-height: 64px;
  }

  .main-menu-mega .nav-item-depth-2:hover {
    border-color: #b6e0f0;
  }

  .main-menu-mega .nav-item-depth-2.menu-item--active-trail {
    border-color: #fff;
  }

  .main-menu-mega .nav-item-depth-2:hover>.branch-dropdown-menu {
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    left: 0;
    width: 100%;
    background: rgba(14, 62, 103, .9);
    background: #0E3E67;
    z-index: 100;
    /* top: 64px; */
    border-top: 2px solid #fff;
    border-bottom: 2px solid #364f61;
    padding: 1rem 0;
    -webkit-animation: fadeIn .4s;
    animation: fadeIn .4s;
    min-height: 300px;
  }

  .landing-page .main-menu-mega .nav-item-depth-2:hover>.branch-dropdown-menu {
    min-height: 400px;
  }

  /* .main-menu-mega .nav-main .nav-item-depth-3:hover{
    background: rgba(1, 33, 45, 0.09);
  } */
}

.view-main-menu-preview .views-row {
  display: none;
  color: #fff;
}

.view-main-menu-preview .views-field-title a {
  color: #fff !important;
  text-decoration: none;
  font-size: 28px;
}

.view-main-menu-preview .views-row.SHOW {
  display: block;
  -webkit-animation: fadeIn .6s;
  animation: fadeIn .6s;
  margin-left: 1rem;
}

.view-main-menu-preview .views-row .views-field-field-menu-preview-image {
  float: right;
  width: 283px;
  max-width: 40%;
  margin-left: 1rem;
  margin-right: 1rem;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 30px;
}

.view-main-menu-preview .views-row .views-field-field-menu-preview-image img {
  display: block;
}

.view-main-menu-preview .views-field-title {
  font-size: 28px;
  margin-bottom: 1rem;
}

.view-main-menu-preview .views-field-body {
  margin-bottom: 1rem;
}

.views-field-field-parent {
  display: none;
}


@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    margin-top: 20px;
  }

  to {
    opacity: 1;
    margin-top: 0
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    margin-top: 20px;
  }

  to {
    opacity: 1;
    margin-top: 0;
  }
}