/* You can add global styles to this file, and also import other style files */
html {
  font-size: 44%;
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}
.container {
  max-width: 1280px;
}

.breakpoint-wrapper {
  font-size: 18px;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
  font-weight: 700;
}
.am__button {
  border-radius: 0;
}
.am__header {
  border-top: 2.5rem solid #72be45;
  background-color: #fff;
}
.am__header .row {
  align-items: center;
  height: 10rem;
}

.am__button--open-hsa {
  background-color: #fdb733;
  font-weight: 700;
  font-size: 2rem;
  padding: 0.5rem 2rem;
  margin-right: 4rem;
}

.am__button--login {
  background-color: transparent;
  color: black;
  font-weight: 700;
  font-size: 2rem;
  border: 2px solid black;
  padding: 0.5rem 4rem;
}
.am__button--login:hover {
  background-color: black;
  color: white;
}
.am__hero {
  background-color: #f3f3f3;
  position: relative;
  /*height: 50rem;*/
}

.am__hero sup {
  font-size: 30%;
  top: -6rem;
  left: -1rem;
}
.am__faqs sup {
  font-size: 50%;
  top: -3rem;
  /* left: -1rem; */
}
.navbar-expand-lg .navbar-collapse {
  justify-content: flex-end;
}
.am__hero .am__hero--header {
  font-size: 7.5rem;
  padding: 3rem 0;
  position: absolute;
  z-index: 100;
  width: 900px;
}
.am__hero .am__hero--list {
  padding-left: 0;
  margin-top: 17rem;
}
.am__hero .am__hero--list li.am__hero--list-item {
  background-color: #cb177d !important;
  padding-left: 10rem;
  font-size: 3rem;
  font-weight: 400;
  height: 7rem;
  width: 55rem;
  margin-bottom: 2px;
  list-style: none;
  color: #fff;
  line-height: 2.3;
  cursor: pointer;
}
.am__hero .am__hero--list li.am__hero--list-item a {
  display: block;
  color: #fff;
}
.am__hero .am__hero--list li.am__hero--list-item a:hover {
  text-decoration: none;
}
.am__hero .am__hero--list li.am__hero--list-item:first-child {
  background: url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-icon1.png') 3% no-repeat, url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-caret-right.png') 95% no-repeat;
  background-size: 40px, 12px;
}
.am__hero .am__hero--list li.am__hero--list-item:first-child:hover {
  background: url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-icon1.png') 3% no-repeat, url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-caret-right.png') 96% no-repeat;
  transition: all ease-in-out 0.2s;
  background-size: 40px, 12px;
}
.am__hero .am__hero--list li.am__hero--list-item:nth-child(2) {
  background: url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-icon2.png') 3% no-repeat, url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-caret-right.png') 95% no-repeat;
  background-size: 40px, 12px;
}
.am__hero .am__hero--list li.am__hero--list-item:nth-child(2):hover {
  background: url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-icon2.png') 3% no-repeat, url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-caret-right.png') 96% no-repeat;
  transition: all ease-in-out 0.2s;
  background-size: 40px, 12px;
}
.am__hero .am__hero--list li.am__hero--list-item:nth-child(3) {
  background: url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-icon3.png') 3% no-repeat, url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-caret-right.png') 95% no-repeat;
  background-size: 40px, 12px;
}
.am__hero .am__hero--list li.am__hero--list-item:nth-child(3):hover {
  background: url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-icon3.png') 3% no-repeat, url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-caret-right.png') 96% no-repeat;
  transition: all ease-in-out 0.2s;
  background-size: 40px, 12px;
}
.am__hero .am__hero--list li.am__hero--list-item:nth-child(4) {
  background: url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-icon5.png') 3% no-repeat, url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-caret-right.png') 95% no-repeat;
  background-size: 40px, 12px;
}
.am__hero .am__hero--list li.am__hero--list-item:nth-child(4):hover {
  background: url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-icon5.png') 3% no-repeat, url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-caret-right.png') 96% no-repeat;
  transition: all ease-in-out 0.2s;
  background-size: 40px, 12px;
}
.am__hero .am__hero--list li.am__hero--list-item:last-child {
  background: url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-icon4.png') 3% no-repeat, url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-caret-right.png') 95% no-repeat;
  background-size: 40px, 12px;
}
.am__hero .am__hero--list li.am__hero--list-item:last-child:hover {
  background: url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-icon4.png') 3% no-repeat, url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-caret-right.png') 96% no-repeat;
  transition: all ease-in-out 0.2s;
  background-size: 40px, 12px;
}

.am__hero .am__hero-image {
  /*height: 54rem;*/
  background: url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-hero-image1.png') center top no-repeat;
  /* width: 85rem; */
  position: relative;
  z-index: 99;
}
.am__body .row {
  margin-top: 4rem;
  margin-bottom: 4rem;
}
section.video-container {
  min-width: 500px;
}
.am__body .am__body--left-section img {
  position: absolute;
  width: 500px;
  cursor: pointer;
  top: 0;
}
.am__body .am__body--right-section {
  background: url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-bg.png');
  height: 53rem;
  padding: 3rem;
  margin-top: -20px;
  background-position: -20px top;
  background-repeat: no-repeat;
}
.am__body .am__body--header {
  font-size: 5rem;
  text-decoration: underline;
  margin-bottom: 2rem;
}

.am__body .am__body--content {
  font-size: 2.8rem;
  width: 95%;
  padding: 4rem 6rem;
}

.am__body .am__body--learn-more {
  margin-top: 4rem;
  font-size: 2.1rem;
}

.am__body .am__body--learn-more span {
  font-size: 16px;
}
.am__body .am__body--learn-more a {
  color: #cb177d;
}
.am__body .am__body--learn-more a:hover {
  text-decoration: none;
}
.am__faqs {
  /* height: 34rem; */
  color: #fff;
  background: #cb177d url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-faqs-rings.png') top right no-repeat;
  background: #cb177d url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-faqs-rings.png') right no-repeat;
  background-size: 123px;
  position: relative;
  padding-bottom: 4em;
  background-size: auto 100%;
}
.am__faqs .am__faqs--header {
  margin-top: 2rem;
  font-size: 5.2rem;
}

.am__faqs .am__faqs--ph-no {
  font-size: 3.2rem;
}

.am__faqs .am__faqs--btn {
  font-size: 3.2rem;
  border-radius: 0;
  padding: 0.5rem 4rem;
  border: 2px solid white;
  margin: 2rem;
}
.am__faqs .am__faqs--btn:hover {
  background-color: #fff;
}
.am__faqs .am__faqs--green-arrow {
  position: relative;
  margin-left: -3.6rem;
  bottom: -1rem;
  position: absolute;
  bottom: 0;
  transform: translateY(50%);
  /* background-color: orange; */
}
.am__faqs--green-arrow img {
  max-width: 1100px;
  width: 100%;
  height: auto;
  margin: 0;
}
.am__footer {
  padding-top: 6rem;
}
.am__footer p {
  font-size: 1.9rem;
  line-height: 1.6;
}
.next-line br{
  display: none;
}

@media only screen and (max-width: 1290px) {
  html {
    font-size: 40%;
  }
  .am__hero .am__hero-image {
    height: 50rem;
  }
  .am__body .col-5 img {
    width: 100%;
    height: auto;
  }
  .am__faqs--green-arrow img {
    width: 750px;
    height: auto;
    margin-left: -0.5rem;
    /* margin-top: 1.5rem; */
  }
  .am__body .am__body--right-section {
    height: 55rem;
  }
  .am__body .am__body--learn-more {
    font-size: 1.9rem;
  }
  .navbar {
    padding: 0.5rem 0;
  }
}
@media only screen and (max-width: 1200px) {
  .am__body .am__body--right-section {
    background: url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-sm-bg.png');
    background-repeat: no-repeat;
  }
}
@media only screen and (max-width: 1080px) {
  .am__body {
    margin: 3rem 0;
  }
  section.video-container {
    min-width: 400px;
  }
  .am__body .am__body--left-section iframe {
    height: 200px;
    width: 100%;
  }
  .am__body .am__body--right-section {
    background: none;
    height: auto;
    box-shadow: 0 0 10px #ccc;
    padding: 0;
    margin-top: 6px;
  }
  .am__body .am__body--content {
    width: 102%;
  }

}
@media only screen and (max-width: 992px) {
  .am__hero.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .am__hero {
    height: 70rem;
  }
  .am__hero .am__hero-image {
    position: absolute;
    background-size: cover;
    z-index: 0;
  }
  .am__hero .am__hero--list {
    position: relative;
    z-index: 2;
    margin-top: 37rem;
  }
  .am__hero .am__hero-image {
    height: 70rem;
    background: url('https://www.fidelity.com/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-hero-image1.png') center 80px no-repeat;
    background-size: cover;
  }
  .am__header .container {
    padding: 0;
  }
}
@media only screen and (max-width: 900px) {
  .am__body .am__body--left-section,
  .am__body .am__body--right-section {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .am__body .am__body--left-section {
    padding-left: 0;
    margin-bottom: -30px;
  }
  .am__body .am__body--left-section iframe {
    height: 270px;
    width: 90%;
  }
  .am__faqs--green-arrow img {
    width: 600px;
  }
  .am__hero .am__hero--header {
    width: auto;
  }
}
@media only screen and (max-width: 767px) {
  .am__body .am__body--left-section,
  .am__body .am__body--right-section {
    flex: 0 0 100%;
    max-width: 100%;
  }
  html {
    font-size: 35%;
  }
  .am__hero--list {
    top: 100px;
  }
  .am__faqs {
    /* background-size: 102px; */
  }
  .am__hero .am__hero--list li.am__hero--list-item {
    width: calc(50% - 10px);
    float: left;
    margin-right: 10px;
    padding-left: 7rem;
    background-size: 30px, 8px !important;
  }
  .am__hero .am__hero--list li.am__hero--list-item a {
    margin-top: 3px;
    margin-left: 6px;
  }
  .navbar-toggler {
    display: block !important;
  }
  .am__header--action-btns {
    display: none !important;
  }
  .am__header--action-xs-btns {
    display: block !important;
  }
  #collapsibleNavbar {
    position: relative;
    top: 15px;
    z-index: 130;
    background: #fff;
    padding: 10px;
    margin: 0 -30px;
    text-align: center;
  }
  .am__faqs {
    /* height: 30rem; */
  }
  .am__faqs--green-arrow img {
    width: 500px;
    /* margin-top: -3px; */
  }
  section.video-container {
    min-width: 400px;
  }
}

@media only screen and (max-width: 500px) {
  .navbar-brand img {
    width: 120px;
  }
  .am__header .container {
    padding: 0;
  }

  .am__faqs .am__faqs--header {
    font-size: 4.2rem;
    margin-top: 3rem;
  }
  .am__faqs {
    height: auto;
    padding: 10px;
  }
  .am__faqs--green-arrow img {
    /* margin-top: 19px; */
    width: 300px;
  }
  .am__body .am__body--content {
    width: 100%;
  }
  .am__hero .am__hero--list li.am__hero--list-item {
    float: none;
    width: 100%;
  }

  .am__hero--list {
    top: 0px;
  }
}

@media only screen and (max-width: 430px) {
  section.video-container {
    min-width: 380px;
  }
  .am__faqs {
    background: none !important;
    background-color: #cb177d !important;
  }
  .am__faqs .am__faqs--green-arrow {
    display: none;
  }
  .next-line br{
    display: inline;
  }
}
@media only screen and (max-width: 381px) {
  section.video-container {
    min-width: 330px;
  }
  .am__body .am__body--left-section {
    margin-bottom: -80px;
  }
}
@media only screen and (max-width: 320px) {
  section.video-container {
    min-width: 290px;
  }
  button span img {
    width: 24px;
  }
  .navbar-brand img {
    width: 100px;
  }
  .am__hero .am__hero--header {
    font-size: 5.5rem;
  }
  .am__body .am__body--left-section {
    margin-bottom: -110px;
  }
}
@media only screen and (max-width: 300px) {
  section.video-container {
    min-width: 270px;
  }
}

/* New Style */
.am__header img {
  vertical-align: middle;
}
.am__header .am__logo {
  height: 125px;
}
.am__button--login:visited {
  background-color: white;
  color: black;
}
.am__button--login:hover {
  background-color: black;
  color: white;
}
.am__hero .am__menu {
  z-index: 100;
}
.am__hero .am__hero-image {
  background: url('/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-hero-image2.jpg') center no-repeat;
  background-size: cover;
  margin-top: 15em;
}
.am__hero .am__hero--list {
  margin-top: 15rem;
}
.am__faqs .am__faqs--btn:visited {
  color: #fff;
}
.am__faqs .am__faqs--btn:hover {
  color: #212529;
}
@media only screen and (max-width: 1150px) {
  .am__hero.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .am__hero .am__menu {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .am__hero .am__hero-image {
    height: 70rem;
    background-size: cover;

    position: absolute;
    background-size: cover;
    z-index: 0;

    flex: 0 0 100%;
    max-width: 100%;
  }
  .am__hero .am__hero--list {
    position: relative;
    z-index: 2;
  }
}
@media only screen and (min-width: 1291px) {
  .am__faqs {
    padding-bottom: 5em;
  }
}
@media only screen and (min-width: 1151px) {
  .am__hero .am__hero-image {
    margin-top: 0;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1150px) {
  .am__hero .am__hero--list {
    margin-top: 52rem;
  }
}
@media only screen and (min-width: 501px) and (max-width: 767px) {
  .am__hero .am__hero-image {
    height: 58rem;
  }
  .am__hero .am__hero--list {
    margin-top: 37rem;
  }
  .am__body {
    padding-top: 15em;
  }
}

@media only screen and (min-width: 993px) {
  .am__header .am__logo {
    margin-left: 10em;
  }
}

/*
Break points around 993
*/
@media only screen and (max-width: 992px) {
  .am__body .am__body--left-section, .am__body .am__body--right-section {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media only screen and (max-width: 500px) {
  .am__header .am__logo {
    height: 60px;
  }
  .am__hero .am__hero--list {
    margin-top: 58rem;
  }
}
@media only screen and (max-width: 320px) {
  .am__header .am__logo {
    height: 44px;
  }
}

/* Style from page */
.am__hero .am__hero--list li.am__hero--list-item:nth-child(4) {
  background: url('/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-icon5.png') 3% no-repeat, url('/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-caret-right.png') 95% no-repeat;
  background-size: 40px, 12px;
}

.am__hero .am__hero--list li.am__hero--list-item:nth-child(4):hover {
  background: url('/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-icon5.png') 3% no-repeat, url('/bin-public/060_www_fidelity_com/images/ambetter-hsa/ambetter-hsa-caret-right.png') 96% no-repeat;
  transition: all ease-in-out 0.2s;
  background-size: 40px, 12px;
}

.am__hero {
  height: auto;
}

.generic-button a, .open-account-button a, .promo-group-horizontal-promo p {
  font-size: 2em;
}

.popin--close-button {
  width: 16px;
  height: 16px;
}

.popin {
  width: 700px;
  height: auto;
  position: absolute;
  left: 50%;
  margin-left: -350px;
  top: 50%;
  margin-top: -100px;
}
.popin--wrapper {
  padding-top: 3em;
}