/* 
--------------------------------------------------------------------------------
  XX-Large devices (larger desktops)
--------------------------------------------------------------------------------
*/
@media (min-width: 1200px) {  
  
  .container {
    max-width: 1060px;
  }

  #header .navbar-brand {
    align-self: first baseline;
    margin-top: -4px;
  }

}

/* Product Cards */
@media (max-width: 767.98px) {
  .product-card {
    min-height: 0;
    padding: 2.875rem 2.1875rem;
  }

  .product-card__header {
    gap: 1rem;
  }

  .product-card__icon {
    flex-basis: 2.25rem;
  }

  .product-card__icon img {
    width: 2.25rem;
  }
}

@media (max-width: 575.98px) {
  .product-card {
    padding: 2.5rem 1.75rem;
  }
}

@media (min-width: 768px) {
  #about-contact .wpcf7 form .wpcf7-response-output,
  #contact-hero .wpcf7 form .wpcf7-response-output {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20%;
  }

  #about-contact .wpcf7 form.sent .wpcf7-response-output,
  #contact-hero .wpcf7 form.sent .wpcf7-response-output {
    bottom: 2rem;
  }
}

/*
--------------------------------------------------------------------------------
  X-Large devices (large desktops, less than 1400px)
--------------------------------------------------------------------------------
*/
@media (max-width: 1410px) {

  html {
    font-size: 0.8rem;
  }
  
  /* Navbar */
  .navbar-nav {
    --bs-nav-link-font-size: 1.1rem;
  }

  .navbar-nav .nav-item {
    flex-grow: inherit;
  }

  #header .nav-link {
    --bs-navbar-nav-link-padding-x: 1rem;
  }

  .btn-group .btn {
    --bs-btn-font-size: 0.9rem;
  }

  /* Home */
  .home-app-items {
    background-position: 7vw 50%;
  }

  .home-app-items .icon-item {
    transform: translateX(-22.14vw);
  }
  
  .home-app-items .icon-item:nth-child(2) {
    transform: translateX(-28.5vw);
  }

  .home-plans-row {
    min-height: 38vw;
  }

  /************** INVESTMENTS *********************/
  .investments-options-image img {
    max-width: 38% !important;
  }
  
  .investments-caption {
    margin-bottom: 5rem;
  }
  
  /* Cards */
  .investment-card,
  .product-card {
    padding: 2.5rem 1.75rem 2.75rem 1.75rem;
    min-height: 28rem;
  }

  .investment-card .card-link-header img {
    margin-bottom: 1rem;
  }

  /************** 401K *********************/
  #steps-401k {
    background-size: 35% auto;
  }

  #steps-401k::before {
    max-width: 20%;
  }

  #steps-401k::after {
    max-width: 15%;
  }
  
  /*Step items */
  .step-item {
    padding-top: 5rem;
    min-height: 20rem;
  }

  .step-item + .step-item {
    margin-top: 4rem;
  }

  .step-item:before {
    width: 20rem;
    height: 20rem;
    left: 2.5rem;
  }

  .step-item .icon-item-image {
    width: 10rem;
    margin-right: 2.5rem;
  }

  .step-item .icon-item-text {
    width: calc(100% - 10rem - 2.5rem);
    margin-top: 4rem;
  }

  .step-item .btn {
    margin-top: 3.375rem;
  }

  /* Retirement */
  .retirement-steps-row {
    --bs-gutter-x: 0;
  }

  .retirement-item .icon-item-text {
    min-height: 8.5rem;
  }

  .retirement-steps-row > div:nth-child(2n) .retirement-item {
    margin-top: 8.5rem;
  }

  /* Education */
  .category-row a {
    height: 28.125rem;
  }

  /* About */
  #about-hero {
    background-size: 45% auto;
  }

  /* Contact */
  .row-form {
    --bs-gutter-x: 3rem;
  }

}



/*
--------------------------------------------------------------------------------
  Large devices (desktops, less than 1200px)
--------------------------------------------------------------------------------
*/
@media (max-width: 1199.98px) {  

  html {
    font-size: 0.7rem;
  }

  /* Home App */
  .home-app-items {
    background: none;
  }

  /* 401K */
  .services-401k-caption {
    margin-bottom: 6rem;
  }

  /* Contact */
  #contact-hero .h3 {
    max-width: 70%;
    margin-bottom: 5rem;
  }

}



/*
--------------------------------------------------------------------------------
  Medium devices (tablets, less than 992px)
--------------------------------------------------------------------------------
*/
@media (max-width: 991.98px) {  

  html {
    font-size: 0.7rem;
  }

  :root {
    /* Font sizes */
    --font-size-1: 4rem;
  }

  /* Offcanvas */
  .offcanvas {
    --bs-offcanvas-width: 360px;
    --bs-offcanvas-height: 30vh;
    --bs-offcanvas-padding-x: 2rem;
    --bs-offcanvas-padding-y: 3.125rem;
    --bs-offcanvas-color: ;
    --bs-offcanvas-bg: var(--blue-color);
    --bs-offcanvas-border-width: 1px;
    --bs-offcanvas-border-color: var(--bs-border-color-translucent);
    --bs-offcanvas-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);

    background: url(../images/ellipses.svg) no-repeat 100% 20%, 
                linear-gradient(160.53deg, #0079EF 59.13%, #00C7FF 112.45%);
  }

  .offcanvas-header .btn-close:focus {
    box-shadow: none;
  }

  .offcanvas-body {
    --bs-offcanvas-padding-y: 2rem;
  }

  /* Navbar */
  .navbar-nav {
    --bs-nav-link-font-size: 1.3rem;
  }

  #languages-dropdown .dropdown-toggle {
    --bs-btn-font-size: 1.3rem;
    --bs-btn-padding-x: 1.3rem;
  }
  
  #languages-dropdown .dropdown-toggle::after {
    margin-left: 1.0625rem;
  }

  #languages-dropdown .dropdown-menu {
    --bs-dropdown-font-size: 1.3rem;
    --bs-dropdown-link-color: var(--blue-color);
    --bs-dropdown-link-hover-color: var(--orange-color);
    --bs-dropdown-link-hover-bg: transparent;
  }

  /* Close button */
  .navbar-collapse .btn-close {
    background-image: url(../images/close-icon.svg);
    opacity: 1;
    display: block;
    margin-left: auto;
  }

  .navbar-collapse .btn-close:hover {
    opacity: 0.75;
  }

  /* Menu */
  #header .navbar-nav li:not(:last-child)::after {
    content: "";
    display: block;
    width: 117px;
    height: 1px;
    background-color: var(--white-color);
  }

  #header .nav-link {
    --bs-nav-link-padding-y: 1.4375rem;
    --bs-nav-link-color: var(--white-color);
    --bs-navbar-active-color: var(--white-color);
    text-align: left;
    display: inline-block;
  }

  #header .current-menu-item .nav-link,
  #header .current_page_parent .nav-link {
    --bs-nav-link-color: rgba(var(--white-color-rgb), 0.5);
  }

  #header .btn-group .btn-dark {
    --bs-btn-hover-color: var(--white-color);
    --bs-btn-hover-bg: var(--blue-color);
    --bs-btn-hover-border-color: var(--white-color);
    --bs-btn-active-color: var(--white-color);
    --bs-btn-active-bg: var(--blue-color);
    --bs-btn-active-border-color: var(--white-color);
  }
  
  #header .btn-group .btn-light {
    --bs-btn-hover-color: var(--white-color);
    --bs-btn-hover-bg: var(--blue-color);
    --bs-btn-hover-border-color: var(--white-color);
    --bs-btn-active-color: var(--white-color);
    --bs-btn-active-bg: var(--blue-color);
    --bs-btn-active-border-color: var(--white-color);
  }
  
  /************** HOME *********************/
  

  /************** INVESTMENTS *********************/
  .investments-hero-row {
    max-width: 100%;
  }

  #portfolio-hero {
    padding-top: 10rem !important;
    padding-bottom: 15vw;
  }

  #portfolio-block {
    padding-top: 4rem;
  }

  #portfolio-block .row-benefits {
    --bs-gutter-x: 2rem;
  }

  /************** PORTFOLIO *********************/
  .portfolio-cash-item .icon-item-image {
    width: 150px;
    margin-right: 55px;
  }

  .portfolio-cash-item .icon-item-text {
    width: calc(100% - 150px - 55px);
  }

  .portfolio-cash-item .icon-item-text br {
    display: none;
  }

  /************** 401K *********************/
  .services-401k-row .service-item h3 {
    font-size: var(--font-size-5);
  }

  #steps-401k {
    background-position: 0 35%;
  }
  
  /*Step items */
  .step-item {
    padding-top: 4rem;
    min-height: 16rem;
  }

  .step-item + .step-item {
    margin-top: 3rem;
  }

  .step-item:before {
    width: 16rem;
    height: 16rem;
    left: 2rem;
  }

  .step-item .icon-item-image {
    width: 8rem;
    margin-right: 2rem;
  }

  .step-item .icon-item-text {
    width: calc(100% - 8rem - 2rem);
    margin-top: 3rem;
  }

  /************** RETIREMENT *********************/

  /************** EDUCATION *********************/
  .category-row a {
    height: 25rem;
    padding: 1.5rem 1rem;
  }

  .category-row a h3 strong {
    font-size: var(--font-size-3);
  }
  

  /***************** ABOUT ********************/
  #about-hero {
    background: url(../images/about-hero-bg-small.jpg) no-repeat 100% 100px;
    background-size: 80% auto;
  }

  #about-hero h2 {
    margin-bottom: 2rem;
  }

  /************** CONTACT *********************/
  #contact-career {
    padding: 7.25rem 0;
  }

  #contact-career .row {
    flex-direction: column-reverse;
  }

  .contact-career-caption {
    text-align: center;
    max-width: 65%;
    margin: 0 auto;
  }

  .contact-career-caption h2,
  .contact-career-caption .h3 {
    margin-bottom: 1rem;
  }

  .contact-career-text {
    max-width: 100%;
    margin: 0 auto;
  }

  .contact-career-image {
    max-width: 60%;
    margin: 0 auto;
  }

  /************** ERROR *********************/
  .error-page {
    background: url(../images/page-error-bg-small.svg) no-repeat 0 0,
              linear-gradient(238.57deg, #0079EF 22.57%, #00C7FF 85.14%);
    background-size: 100% auto;
    text-align: center;
  }

  .error-page lottie-player {
    margin: 0 auto;
  }

}



/*
--------------------------------------------------------------------------------
  Small devices (landscape phones, less than 768px)
--------------------------------------------------------------------------------
*/
@media (max-width: 767.98px) { 

  /************** LAYOUT *********************/

  /* Generales */
  html {
    font-size: 0.7rem;
  }

  /* Buttons */
  .btn:hover {
    opacity: 0.5;
  }

  .btn-light {
    --bs-btn-hover-color: var(--blue-color);
    --bs-btn-hover-bg: var(--white-color);
    --bs-btn-hover-border-color: var(--white-color);
    --bs-btn-active-color: var(--blue-color);
    --bs-btn-active-bg: var(--white-color);
    --bs-btn-active-border-color: var(--white-color);
  }

  .btn-dark {
    --bs-btn-hover-bg: var(--blue-color);
    --bs-btn-hover-border-color: var(--blue-color);
    --bs-btn-active-bg: var(--blue-color);
    --bs-btn-active-border-color: var(--blue-color);
  }

  /* Container */
  .container-fluid {
    --bs-gutter-x: 4rem;
  }

  .main-container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .container-fluid.main-container {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .container {
    --bs-gutter-x: 4rem;
  }

  #main .btn {
    min-width: 157px;
    width: auto;
  }

  /************** HEADER *********************/

  /* Navbar */
  .navbar {
    --bs-navbar-padding-y: 3.125rem;
  }
  
  .navbar-brand {
    width: 94px;
  }
  
  /************** HOME *********************/
  
  /* Hero */
  #home-hero {
    background-position: 100% 100%;
  }

  .home-hero-row {
    flex-direction: column-reverse;
    --bs-gutter-y: 2rem;
  }

  .home-hero-caption {
    text-align: left;
  }

  .home-hero-caption h1 {
    font-size: 2.5rem;
    line-height: 1.14;
  }

  .home-hero-caption-text {
    max-width: 63%;
  }

  #main .home-hero-caption .btn {
    width: auto;
  }

  /* Solutions */
  #home-solutions {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
  }

  .home-solutions-row {
    max-width: 360px;
    margin: 0 auto;
  }

  .home-solution-card-body {
    min-height: auto !important;
  }

  .home-solutions-title {
    margin-bottom: 1.25rem;
  }

  .home-solutions-text {
    color: var(--blue-color);
    /* margin-bottom: 0; */
  }

  .home-solutions-text p strong {
    margin-top: 1rem;
    display: block;
  }

  .home-solution-card-header lottie-player {
    width: 50% !important;
    height: 50% !important;
    transform: translateY(50%) !important;
    margin-top: -25% !important;
    margin-left: auto;
  }
  
  .home-solution-card-body {
    padding: 2.5rem 1.25rem;
    min-height: auto !important;
    text-align: left;
  }

  #main .home-solution-card .btn {
    width: 100%;
    text-transform: none;
  }

  .solution-2 .home-solution-card-header lottie-player {
    margin-left: 0;
  }

  .solution-2 .home-solution-card-body {
    text-align: right;
  }

  /* App */
  #home-app {
    padding: 2rem 0;
  }
  
  .home-app-row .col-xs-4 {
    flex:0 0 auto;
    width:41.66666667%;
  }

  .home-app-row .col-xs-4 {
    flex:0 0 auto;
    width:33.33333333%;
  }

  .home-app-row .col-xs-8 {
    flex:0 0 auto;
    width:66.66666667%;
  }

  .home-app-items {
    background: none;
    transform: none;
  }

  .home-app-items .icon-item {
    flex-direction: column;
    align-items: center;
    transform: none;
  }

  .home-app-items .icon-item + .icon-item {
    margin-top: 2rem;
  }

  .home-app-items .icon-item-image {
    margin: 0 0 0.625rem 0;
    width: 3.3125rem;
  }

  .home-app-items .icon-item-text {
    max-width: 100%;
    text-align: center;
  }

  .home-app-items .icon-item:nth-child(2) {
    transform: none;
  }

  /* Investment */
  /* #home-investment .container-fluid {
    --bs-gutter-x: 8rem;
  } */

  #home-investment .btn {
    width: 223px;
  }

  .home-investment-block {
    padding: 3rem;
    color: var(--white-color);
    border-radius: 2.5rem;
  }

  /* Plans */
  #home-plans {
    padding-top: 57px;
    padding-bottom: 58px;
  }

  /* 401k */
  .home-401k-caption h3 {
    margin-bottom: 1rem;
    text-transform: lowercase;
  }

  .home-401k-caption .wpb_content_element {
    margin-bottom: 1rem;
  }

  .home-401k-caption h2 {
    margin-bottom: 0;
  }

  /* Contact */
  #home-contact {
    padding: 4rem 0;
  }

  #home-contact .container-fluid {
    --bs-gutter-x: 8rem;
  }

  /* Partners */
  #home-partners {
    padding-top: 2.375rem;
    padding-bottom: 0;
  }

  .home-partners-row h2 {
    max-width: 180px;
    margin: 0 auto 1.25rem auto;
  }

  .home-partners-list .imagelist {
    margin-bottom: 2rem;
  }

  .home-partners-list .imagelist img {
    height: 60px !important;
    width: auto !important;
  }
  
  /* Newsletter */
  .home-newsletter-caption {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 0;
    padding: 2rem 1rem 4.75rem 1rem;
    border-radius: 0.5rem;
  }

  .home-newsletter-caption h3 {
    margin-top: 0.1875rem;
    margin-bottom: 1rem;
  }

  .home-newsletter-caption .wpb_wrapper {
    margin: 0 auto;
  }

  .home-newsletter-form {
    position: initial;
    top: auto;
    right: auto;
    width: 100%;
    transform: translateY(-3.75rem);
    padding: 1.5rem;
    border-radius: 0.5rem;
  }

  .home-newsletter-form .form-label {
    padding: 0.3125rem 1rem 1.1875rem 1rem;
  }

  .home-newsletter-form .wpcf7-not-valid-tip {
    top: 1.3125rem;
    right: auto;
    left: 1rem;
  }

  .home-newsletter-form .form-control::placeholder {
    color: var(--gray-color);
  }

  /***************** INVESTMENTS ********************/

  /* Hero */
  .investments-hero-image {
    text-align: center !important;
  }
  
  .investments-hero-caption {
    text-align: center;
  }

  .investments-hero-caption h1 {
    line-height: 1.14;
  }
  
  /* Cards */
  #investments {
    padding: 5.5rem 0;
  }

  .investments-caption {
    margin-bottom: 4.625rem;
  }

  .investment-card,
  .product-card {
    padding: 2.875rem 2.1875rem;
    min-height: 346px;
  }

  .investment-card .card-link-header img {
    /* width: 2.25rem; */
    margin-bottom: 1.625rem;
  }

  .investment-card .card-link-header h3 {
    margin-bottom: 0.75rem;
    min-height: auto;
  }

  .investment-card::after {
    transform: rotate(-45deg);
    top: 13px;
    right: 10px;
    width: 24px;
    height: 19px;
    background-size: contain;
  }
  
  /* Options */
  #investments-options {
    padding: 4.375rem 0;
    position: relative;
  }

  .investments-options-image {
    display: none;
  }

  #main .investments-options-caption .btn {
    width: 218px;
  }


  /***************** PORTFOLIO ********************/
  #portfolio-hero {
    background: url(../images/portfolio-hero-bg-small.svg) no-repeat 50% 100%;
    background-size: cover;
    padding-top: 10rem !important;
    padding-bottom: 30vw;
    text-align: left;
  }

  #portfolio-content {
    padding-top: 0;
    padding-bottom: 0;
  }
  
  .portfolio-top h2 {
    font-size: 1.125rem;
  }
  
  .portfolio-item {
    padding: 1.5rem 0;
    align-items: flex-end;
  }

  .portfolio-item .item-link {
    min-width: 91px;
  }

  #portfolio-block h2 {
    margin-bottom: 2rem;
  }

  #portfolio-block .row-benefits {
    max-width: 360px;
    margin: 0 auto;
  }

  #portfolio-block .benefit {
    text-align: left;
  }

  #portfolio-block .benefit img {
    float: left;
    margin-right: 1rem;
    width: 2rem;
  }

  #portfolio-block .benefit h3 {
    margin-top: 0.5rem;
  }

  #portfolio-block .benefit > div {
    width: calc(100% - 3rem);
    margin-left: auto;
  }

  #portfolio-block .buttons {
    margin: 2rem auto 0 auto;
    max-width: 360px;
    padding-left: 4rem;
    align-items: start;
  }

  #portfolio-block .buttons > a {
    width: 90% !important;
  }

  #portfolio-block .buttons > a + a {
    margin-top: 1rem;
  }

  #portfolio-cash-hero {
    background: url(../images/portfolio-hero-bg-small.svg) no-repeat 50% 100%;
    background-size: cover;
    padding-bottom: 30vw;
    text-align: left;
  }

  .portfolio-cash-item:nth-child(2) {
    padding-left: 30px;
  }

  /***************** 401K ********************/
  .services-401k-row .service-item h3 {
    text-transform: uppercase;
  }

  #steps-401k {
    background-position: 0 0;
    background-size: auto 80%;
  }

  #steps-401k::after,
  #steps-401k::before {
    display: none;
  }

  .steps-401k-row {
    max-width: 80%;
  }
  
  .step-item {
    padding-top: 1.125rem;
    min-height: auto;
  }

  .step-item:nth-child(2n) {
    transform: none;
  }
  
  .step-item + .step-item {
    margin-top: 1.25rem;
  }
  
  .step-item:before {
    width: 135px;
    height: 135px;
  }
  
  .step-item .icon-item-image {
    width: 61px;
    margin-right: 20px;
  }
  
  .step-item .icon-item-text {
    width: calc(100% - 61px - 20px);
    margin-top: 1.5rem;
  }
  
  .step-item .icon-item-text h3 {
    margin-bottom: 1rem;
  }

  /************** RETIREMENT *********************/
  .retirement-item {
    flex-direction: row !important;
    align-items: center;
  }

  .retirement-item .icon-item-image {
    width: 100px;
  }

  .retirement-item .icon-item-image img {
    width: 63px;
    padding: 0;
  }

  .retirement-item .icon-item-image::after {
    width: 0;
    height: 40px;
    position: relative;
    top: auto;
    right: auto;
    left: 50%;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .retirement-item .icon-item-text {
    min-height: 0;
    width: calc(100% - 100px);
    text-align: left;
    padding-bottom: 100px;
  }

  .retirement-steps-row > div:nth-child(2n) .retirement-item {
    margin-top: 0;
  }

  .retirement-steps-row > div:last-child .retirement-item .icon-item-text {
    padding-bottom: 0;
  }

  .retirement-contact-caption .btn {
    width: 100% !important;
  }

  /************** EDUCATION *********************/
  .category-row {
    --bs-gutter-x: 1.125rem;
    --bs-gutter-y: 1rem;
  }

  .category-row a {
    height: 18rem;
  }

  .category-row a h3 {
    max-width: 80%;
    font-size: var(--font-size-5);
  }

  .category-row > div:nth-child(1) a {
    background-image: url(../images/cat-1-small.png);
  }
  
  .category-row > div:nth-child(2) a {
    background-image: url(../images/cat-2-small.png);
  }
  
  .category-row > div:nth-child(3) a {
    background-image: url(../images/cat-3-small.png);
  }
  
  .category-row > div:nth-child(4) a {
    background-image: url(../images/cat-4-small.png);
  }

  /************** POST *********************/
  .post-navigation {
    margin-top: 3rem;
  }

  .post-navigation .nav-next a span,
  .post-navigation .nav-previous a span {
    display: none;
  }

  .post-navigation .nav-previous a {
    background-size: 1.375rem auto;
    padding-left: 1.875rem;
  }
  
  .post-navigation .nav-next a {
    background-size: 1.375rem auto;
    padding-right: 1.875rem;
  }

  .single-post .entry-header {
    margin-bottom: 1.75rem;
  }

  .single-post .wpb_content_element {
    margin-bottom: 2rem;
  }

  .single-post .text-borders {
    padding: 1rem 0;
    margin-bottom: 1rem;
  }

  .single-post blockquote {
    margin-left: 0;
  }

  /***************** ABOUT ********************/
  #about-hero {
    background-size: 70% auto;
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  #about-hero h1 {
    max-width: 68%;
  }

  #about-hero h2 {
    margin-bottom: 2rem;
  }

  .about-hero-text-1 h3 {
    max-width: 50%;
    margin-bottom: 2rem;
  }

  #about-contact {
    padding-top: 2.75rem;
  }

  #about-contact .h3 {
    margin-bottom: 2.5rem;
  }

  #about-newsletter {
    padding-top: 2.875rem;
    padding-bottom: 2rem;
  }

  /***************** CONTACT ********************/
  #contact-hero h1 {
    margin-bottom: 2rem;
  }

  #contact-hero .h3 {
    max-width: 70%;
    margin-bottom: 2rem;
  }

  /* Form */
  .form-check-input[type="checkbox"] {
    float: left;
    margin-right: 0.5625rem;
  }

  .wpcf7-validates-as-required:not(.wpcf7-not-valid) {
    margin-top: 1.25rem;
  }

  .wpcf7-not-valid-tip {
    min-height: 1.25rem;
  }

  /* Info */
  #contact-info {
    padding-top: 3.5rem;
    padding-bottom: 3.125rem;
  }

  #contact-info .wpb_content_element {
    margin-bottom: 0;
  }
  
  .contact-info {
    max-width: 274px;
  }

  .contact-block {
    margin-top: 1.125rem;
  }
  
  .contact-block > div {
    padding-left: 2.375rem;
    min-height: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .contact-block > div.phone {
    background-size: 19px auto;
  }
  
  .contact-block > div.email {
    background-size: 17px auto;
  }
  
  .contact-block > div.address {
    background-size: 14px auto;
  }
  
  /***************** FOOTER ********************/
  #footer {
    padding-top: 2.5rem;
    padding-bottom: 1.875rem;
  }

  #footer > .container-fluid {
    position: relative;
  }

  #footer .row,
  #copyright {
    width: 60%;
  }

  #copyright ul {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
  }

  #copyright {
    border-top: none;
  }
  
  #copyright ul li {
    border-top: 1px solid var(--blue-color);
    padding: 10px 0;
  }

  #copyright .menu li + li::before {
    display: none;
  }
  
  #footer .navbar-brand {
    display: block;
    width: 60px;
    height: 60px;
    background: url(../images/isologo.svg) no-repeat 0 0;
    background-size: 100% auto;
    position: absolute;
    right: 4rem;
    top: 0;
  }

  #footer .navbar-brand img {
    display: none;
  }

}



/*
--------------------------------------------------------------------------------
  X-Small devices (portrait phones, less than 576px)
--------------------------------------------------------------------------------
*/
@media (max-width: 575.98px) {  
  
  /************** LAYOUT *********************/

  /* Generales */
  html {
    font-size: 1rem;
  }
  
  body {
    font-size: 1rem;
    line-height: 1.14;
  }
  
  /* Headings */
  h1, .h1 {
    font-size: 2.5rem; /*40px*/
  }
  
  h2, .h2 {
    font-size: 1.4375rem; /*23px*/
  }
  
  h3, .h3 {
    font-size: 1.125rem; /*18px*/
  }
  
  h4, .h4 {
    font-size: 1.0625rem; /*17px*/
  }
  
  h5, .h5 {
    font-size: 1rem; /*16px*/
  }
  
  h6, .h6 {
    font-size: 0.875rem; /*14px*/
  }

  /* Buttons */
  .btn {
    --bs-btn-padding-y: 0.45rem;
    --bs-btn-line-height: 1;
    --bs-btn-font-size: 0.875rem;
    width: 9.8125rem;
  }
  
  /* Container */
  .container-fluid {
    --bs-gutter-x: 4rem;
  }

  .main-container h1 {
    font-size: var(--font-size-4);
  }

  .main-container h2 {
    font-size: 1rem;
    margin-top: 3rem;
  }

  /* Offcanvar */
  .offcanvas-body {
    --bs-offcanvas-padding-y: 0;
  }

  /* Navbar */
  .navbar-nav {
    --bs-nav-link-font-size: 1rem;
  }

  #languages-dropdown .dropdown-toggle {
    --bs-btn-font-size: 1rem;
    --bs-btn-padding-x: 1rem;
    text-align: left;
    width: 8.75rem;
  }
  
  #languages-dropdown .dropdown-toggle::after {
    margin-left: 1.0625rem;
  }

  #languages-dropdown .dropdown-menu {
    --bs-dropdown-font-size: 1rem;
  }

  /************** HOME *********************/
  #home-hero {
    padding-bottom: 2rem !important;
  }

  

  .home-hero-caption {
    padding-top: 0;
  }

  #home-investment {
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
  }

  .home-newsletter-caption .wpb_wrapper {
    max-width: 80%;
  }

  .home-newsletter-form .form-control {
    font-size: 1rem;
  }

  /* 401k */
  #home-plans {
    padding: 2rem 0;
  }
  
  .home-plans-image {
    margin-bottom: 2rem;
    text-align: center !important;
  }

  .home-plans-image img {
    width: 300px;
  }

  .home-plans-text {
    text-align: left;
    padding: 0;
  }

  .home-plans-text .wpb_wrapper {
    max-width: 100%;
    margin-left: 0;
  }

  .home-401k-caption {
    color: var(--blue-color);
  }

  .home-401k-row {
    --bs-gutter-y: 32px;
    flex-direction: column-reverse;
  }

  .home-app-items .icon-item-image {
    width: 2rem;
  }

  /* Contact */
  #home-contact .container-fluid {
    --bs-gutter-x: 4rem;
  }

  .home-contact-row {
    font-size: 1rem;
    --bs-gutter-y: 2rem;
  }

  .home-contact-cards-row {
    --bs-gutter-y: 2rem;
  }

  .home-contact-insight-row .picture {
    border-radius: 1rem 1rem 0 0;
  }

  .home-contact-insight-row .picture * {
    width: 100%;
  }

  .home-contact-insight-row .icon-card {
    border-radius: 0 0 1rem 1rem;
  }

  .icon-card-header h3,
  .card-expertise h3,
  .card-innovation h3 {
    font-size: 1.25rem;
  }

  .icon-card-header img {
    width: 2rem;
  }

  .card-expertise {
    padding: 2rem;
    border-radius: 1rem;
    background-size: cover;
  }

  .card-expertise::after {
    height: 5rem;
  }

  .card-expertise .wpb_single_image {
    margin-bottom: 0;
  }

  .card-innovation {
    background-size: cover;
    padding: 2rem 2rem 0 2rem;
    border-radius: 1rem;
  }

  .card-innovation::after {
    height: 3rem;
  }

  /************** INVESTMENTS *********************/

  /* Hero */
  .investments-hero-row {
    --bs-gutter-x: 0;
  }

  .investments-hero-row .icon-item br {
    display: none;
  }

  .investments-hero-row .icon-item-image {
    display: none;
  }

  .investments-hero-row > div + div {
    padding-top: 1rem;
    margin-top: 1rem;
  }

  .investments-hero-row > div + div::before {
    border: 1px solid rgba(var(--white-color-rgb), 0.5);
    width: 1.5rem;
    height: 0;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .home-investment-block {
    padding: 2rem;
    border-radius: 1rem;
  }

  /* Intelligent */
  .investment-intelligent-block {
    padding-top: 28px;
    padding-bottom: 54px;
  }

  .investment-intelligent-caption {
    text-align: center;
    margin-bottom: 36px;
  }

  .investment-intelligent-caption h2 {
    text-align: center;
  }

  .investment-intelligent-feature {
    position: relative;
    padding-left: 70px;
  }

  .investment-intelligent-feature .icon {
    position: absolute;
    left: 0;
    top: 0;
    max-width: 55px;
    min-height: auto;
  }

  .investment-intelligent-feature .icon-2 {
    max-width: 18px;
  }

  .investment-intelligent-feature .icon-3 {
    max-width: 45px;
  }

  .investment-intelligent-feature-1 h3 {
    margin-top: 10px;
  }

  .investment-intelligent-feature-2 h3 {
    margin-top: 10px;
  }

  /* Cards */
  .investment-card .card-link-header img {
    width: 2.25rem;
  }
  
  #investments-crypto {
    background: url(../images/ellipses-7-small.svg) no-repeat 0 0, 
                var(--light-gradient);
    background-size: cover;
    padding-top: 4.25rem;
    padding-bottom: 4.5rem;
  }

  .investments-crypto-caption {
    text-align: center;
  }

  .investments-crypto-bottom {
    margin-top: 2.5rem;
  }

  /***************** PORTFOLIO ********************/
  #hero-blog {
    padding-top: 3rem;
  }

  #hero-blog h1 {
    font-size: var(--font-size-3);
  }

  .post-container {
    padding-bottom: 3rem;
  }

  .portfolio-top h2 {
    font-size: 1rem;
  }

  #portfolio-cash-hero .wpb_single_image {
    margin-top: 40px;
  }

  #portfolio-cash-content {
    padding-top: 0;
  }

  .portfolio-cash-caption {
    text-align: left;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .portfolio-cash-items {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .portfolio-cash-item {
    padding: 0;
    align-items: flex-start;
  }

  .portfolio-cash-item:nth-child(2) {
    padding-left: 0;
  }

  .portfolio-cash-item .icon-item-image {
    width: 70px;
    margin-right: 16px;
  }

  .portfolio-cash-item .icon-item-text {
    width: calc(100% - 70px - 16px);
  }

  .portfolio-cash-item + .portfolio-cash-item {
    margin-top: 70px;
  }

  #portfolio-block.portfolio-block-buttons {
    padding-top: 0;
  }

  #portfolio-block.portfolio-block-buttons .buttons {
    padding-left: 0;
    max-width: 225px;
  }

  #portfolio-block.portfolio-block-buttons .buttons > a {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  /***************** 401K ********************/
  #steps-401k {
    background-image: url(../images/ellipse-7-small.svg);
    background-position: 0 0;
    background-size: auto 80%;
  }

  .steps-401k-row {
    max-width: 100%;
  }

  /************** RETIREMENT *********************/
  #retirement-hero {
    padding-top: 3rem;
  }
  
  #retirement-hero img {
    transform: scale(1.3);
    transform-origin: center center;
  }
  
  .retirement-hero-caption {
    width: 75%;
  }

  .retirement-hero-text {
    max-width: 100%;
  }

  #retirement-steps {
    padding-bottom: 3.25rem;
  }

  .retirement-steps-caption .wpb_text_column {
    margin-bottom: 2rem;
  }

  .retirement-steps-row {
    margin-top: 2rem;
  }

  #retirement-contact {
    background: url(../images/ellipses-6-small.svg) no-repeat 0 0,
              var(--dark-gradient);
    background-size: cover;
    padding: 3rem 0;
  }

  .retirement-contact-row {
    --bs-gutter-y: 2rem;
  }

  .retirement-contact-caption h2 {
    margin-bottom: 1.25rem;
  }

  .retirement-contact-item + .retirement-contact-item {
    margin-top: 1.25rem;
  }

  .retirement-contact-caption .btn {
    margin-top: 2.375rem;
    width: 100% !important;
  }


  /************** 401k *********************/
  #hero-401k {
    padding: 5.75rem 0;
  }
  
  #services-401k {
    padding: 3rem 0;
  }

  #hero-401k h1 {
    margin-bottom: 1rem;
  }

  #hero-401k h1 br {
    display: none;
  }

  #hero-401k .btn {
    margin-top: 1.25rem;
  }

  .services-401k-caption {
    margin-bottom: 4.375rem;
  }

  .services-401k-caption h2 br {
    display: none;
  }
  
  .services-401k-row > div {
    width: 50%;
  }

  .services-401k-row .icon-item-image {
    height: 2.875rem;
    margin-bottom: 1rem;
    flex-wrap: initial;
  }

  .services-401k-row img {
    transform: scale(0.5);
    transform-origin: center bottom;
  }

  .services-401k-row .icon-item h3 {
    font-family: var(--font-family-primary);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .step-item:last-child {
    padding-bottom: 100px;
  }

  .step-item .btn {
    position: absolute;
    left: 0;
    bottom: 0;
    margin-top: 45px;
  }

  /************** EDUCATION *********************/
  #blog-hero {
    background-image: url(../images/blog-hero-bg-small.svg);
  }
  
  .category-row {
    --bs-gutter-x: 1.125rem;
    --bs-gutter-y: 1rem;
    max-width: 360px;
    margin: 0 auto;
  }

  .category-row a {
    width: 140px;
    height: 174px;
    margin: 0 auto;
    max-width: 100%;
  }

  .category-row a h3 {
    font-size: 0.9375rem;
    max-width: 80%;
  }

  .category-row a h3 strong {
    font-size: 1.125rem;
    font-weight: normal;
  }

  .blog-list .post .entry-link::after {
    width: 22px;
    height: 17px;
    margin-left: 0.5rem;
  }

  .page-item .page-link {
    width: 30px;
    height: 30px;
    padding: 0;
    line-height: 30px;
  }

  .page-item a:not(.page-link) {
    line-height: 1.875;
  }

  /* Category page */
  #category-footer {
    padding-bottom: 2rem;
  }

  #category-header .category-row .col-6 {
    display: none;
  }

  #category-header .category-row .col-active {
    display: block;
  }

  #category-footer .category-row .col-active {
    display: none;
  }

  #category-header .category-row .col-6,
  #category-footer .category-row .col-6 {
    width: 100%;
  }

  #category-header .category-row a h3,
  #category-footer .category-row a h3 {
    max-width: 50%;
  }

  #category-header .category-row a,
  #category-footer .category-row a {
    width: 100%;
    height: auto;
    min-height: 113px;
    background-size: contain;
    background-position: 100%;
  }

  #category-header .category-row > div:nth-child(1) a,
  #category-footer .category-row > div:nth-child(1) a {
    background-image: url(../images/cat-1-md.png);
  }
  
  #category-header .category-row > div:nth-child(2) a,
  #category-footer .category-row > div:nth-child(2) a {
    background-image: url(../images/cat-2-md.png);
  }
  
  #category-header .category-row > div:nth-child(3) a,
  #category-footer .category-row > div:nth-child(3) a {
    background-image: url(../images/cat-3-md.png);
  }
  
  #category-header .category-row > div:nth-child(4) a,
  #category-footer .category-row > div:nth-child(4) a {
    background-image: url(../images/cat-4-md.png);
  }

  /************** POST *********************/
  .single-post .post-data {
    margin-bottom: 0.5rem;
  }

  .single-post h1 {
    font-size: 1.4375rem;
  }

  .single-post h2 {
    font-size: 1.125rem;
  }

  .single-post h3 {
    font-size: 1rem;
  }
  
  .single-post .addtoany_list a img {
    width: 20px;
  }

  /***************** ABOUT ********************/
  #about-hero {
    background-size: 100% auto;
    background-position: 100% 200px;
  }

  .about-hero-text-1 h3 {
    max-width: 68%;
  }
  
  .about-hero-text-2 {
    text-align: center;
  }

  

  /***************** CONTACT ********************/
  /* Form */
  .form-control {
    font-size: 1rem;
  }

  .contact-career-image {
    max-width: 100%;
  }
  
  
  /************** FOOTER *********************/
  #footer {
    font-size: 0.8125rem;
  }
  
  #footer .navbar-brand {
    width: 30px;
    height: 30px;
    right: 2rem;
  }

  #footer h2 {
    font-size: 1rem;
  }

}

/* Keep the Product Card top spacing consistent at every breakpoint. */
@media (max-width: 1410px) {
  .product-card {
    padding-top: 2rem;
  }
}
