/* Adapted from nexus/application/views/www/best/assets/styles/style.css */
#top10Container {
  padding: 2em 0;
  background: white;
  margin: 0 auto;
}

/* HEADER */
#top10Container header .navbar {
  display: block;
  min-height: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}

#top10Container header .navbar .container {
  display: block;
  min-height: 0;
}

#top10Container header .navbar p:last-child {
  font-size: 14px;
  margin-top: 5px;
}

#top10Container .head-menu {
  display: flex;
}
#top10Container .head-menu .left-logo {
  display: flex;
  justify-content: flex-start;
  flex-grow: 1;
  flex-shrink: 0;
  padding-left: 10px;
}
#top10Container .head-menu .phone {
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
  flex-shrink: 0;
  align-items: center;
  padding-right: 10px;
}

#top10Container .head-menu .phone a {
  font-size: 1.5em;
}

@media screen and (max-width: 560px) {
  #top10Container .head-menu {
    display: block;
  }

  #top10Container .head-menu .left-logo {
    justify-content: center;
  }

  #top10Container .head-menu .phone {
    justify-content: center;
  }
}

/* HERO */
#top10Container .hero {
  margin-bottom: 60px;
}

#top10Container .hero .hero-body {
  padding: 2rem 1.5rem;
}

#top10Container .hero .title {
  font-weight: 900;
}

#top10Container .hero .columns {
  align-items: flex-end;
}

#top10Container .hero .column:last-child p {
  font-size: 14px;
}

/* BODY */
#top10Container .lender-ranking {
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid #3273dc;
  border-radius: 50%;
  padding: 0 10px;
}

#top10Container .lender-row {
  border: 0.5px solid #f2f2f2;
  border-radius: 4px;
  box-shadow: 1px 2px 7px 0 rgba(0, 0, 0, 0.2);
  padding: 10px 40px;
  margin: 20px 0 !important;
}

#top10Container .lender-row .column:first-child li {
  margin: 5px 0;
}

#top10Container .lender-row .column:first-child li:first-child {
  margin-top: 0;
}

#top10Container .lender-row .column:first-child li:last-child {
  margin-bottom: 0;
}

#top10Container .lender-row .column:nth-of-type(2) div {
  margin-left: 100px;
}

#top10Container .lender-row .column:nth-of-type(2) ul {
  list-style: none;
  letter-spacing: 0.2px;
}

#top10Container .lender-row .column:nth-of-type(2) ul svg {
  margin-right: 2px;
}

#top10Container .lender-row .column:last-child {
  flex-grow: 0;
}

#top10Container .lender-row .lender-logo {
  max-height: 70px;
}

#top10Container .lender-row .lender-rating {
  display: inline;
  vertical-align: text-bottom;
  padding: 2px 4px;
  margin-left: 10px;
}

#top10Container .lender-row .review-link {
  font-size: 14px;
  color: inherit;
}

#top10Container .lender-row .review-total {
  font-size: 13px;
}
#top10Container .mb-5 {
  margin-bottom: 5px;
}

/* FOOTER */
#top10Container .footer {
  background: none;
  border-top: 1px solid #eee;
  padding: 2rem 1.5rem;
  margin-top: 60px;
}

#top10Container .footer .navbar-item img {
  max-height: 42px;
}

#top10Container .footer .copyright {
  font-size: 13px;
  border-top: 1px solid #eee;
  padding-top: 1rem;
  margin-top: 2rem;
}

#top10Container .phone-button {
  justify-content: center;
  display: flex;
  flex-grow: 1;
  flex-shrink: 0;
}
#top10Container .phone-button p {
  padding-top: 12px;
}
#top10Container .phone-button p a {
  color: #4a4a4a !important;
}

#top10Container .logo-sm {
  max-width: 200px;
}

@media screen and (min-width: 1024px) {
  #top10Container .lender-row {
    display: flex;
    align-items: center;
  }

  #top10Container .lender-row .lender-logo {
    max-width: 200px;
  }
}

@media screen and (max-width: 1023px) {
  #top10Container .lender-ranking {
    left: 20px;
  }

  #top10Container .lender-row {
    border-bottom: 4px solid #3273dc;
    padding: 0;
    margin: 20px 10px !important;
  }

  #top10Container .lender-row .column.is-half-touch:nth-of-type(2) {
    background: #f9f9f9;
  }

  #top10Container .lender-row .column.is-half-touch {
    align-items: center;
    padding: 10px;
  }

  #top10Container .lender-row .column:nth-of-type(2) div {
    margin-left: 0;
  }

  #top10Container .footer .navbar-brand,
  .footer .navbar-item {
    display: block;
  }
}

/* FRU /mortgage-rates */
#top10Container .bulma .lender-row {
  padding: 10px !important;
}

#top10Container .bulma .lender-ranking {
  font-size: 20px !important;
}

#top10Container .bulma .button {
  font-size: 20px !important;
}

#top10Container .bulma .button.is-hidden-desktop {
  font-size: 16px !important;
}

#top10Container .bulma .select {
  font-size: 16px !important;
}

.rates-header {
  font-size: 2rem;
  display: block;
}

.rates-rate {
  font-size: 9rem;
  font-weight: bold;
  letter-spacing: -0.25rem;
  line-height: 8rem;
  display: block;
}

.rates-apr {
  display: block;
  font-size: 1.5rem;
}

@-webkit-keyframes pulse {
  0% {
    transform: scale(.95);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 50px rgba(#5a99d4, 0);
  }
    100% {
    transform: scale(.95);
    box-shadow: 0 0 0 0 rgba(#5a99d4, 0);
  }
}
