@media (max-width: 991px) {
  .pass-date {
    width: 85px;
    height: 40px;
    border-top-left-radius: 15px;
    font-size: 20px;
    top: -20px;
    right: 20px;
  }
  .pass-box {
    background-color: #2a2a86;
    padding: 40px 20px 20px 20px;
  }
  #timeline-detail .container {
    padding: 50px 20px;
  }
  .pass-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
  }
  .timeline-item:nth-child(even) .timeline-content::after {
    border-width: 12px 18px 10px 0;
    border-color: transparent #2a2a86 transparent transparent;
  }
  .timeline {
    margin-top: 50px;
  }
  .timeline-img {
    width: 85px;
    height: 40px;
    font-size: 20px;
    position: absolute;
    left: 60px !important;
    top: -20px;
    z-index: 10;
    margin: 0;
  }
  .timeline-item {
    margin-bottom: 50px;
    position: relative;
  }
  .timeline-content h2 {
    font-size: 24px;
    margin: 0 0 20px 0;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline .timeline-img {
    left: 20px;
  }
  .timeline .timeline-content {
    border-top-left-radius: 40px;
    max-width: 100%;
    width: auto;
    margin-left: 20px;
    padding: 60px 20px 40px 20px !important;
  }
  .timeline .timeline-item:nth-child(even) .timeline-content {
    float: none;
  }
  .timeline .timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    left: -15px;
    border-width: 12px 18px 10px 0;
    border-color: transparent #2a2a86 transparent transparent;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }
  .partners-logo {
    width: calc(100% / 2 - 20px);
    margin: 10px;
    padding: 12px;
    border-radius: 6px;
  }
  .partners-grid {
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #e7e7e7;
  }
  .line-box {
    grid-gap: 16px;
  }
  .line-box h4 {
    font-size: 20px;
  }
  .line-grid {
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }
  .line-container {
    margin-top: 40px;
    padding-top: 40px;
  }
  .article-share .btn-social {
    display: inline-flex;
  }
  .share-container h3 {
    display: block;
    font-size: 24px;
    margin-bottom: 12px;
  }
  .share-container {
    display: block;
    position: relative;
    top: inherit;
    padding: 15px 0 0 0;
  }
  .share-inner {
    position: relative;
  }
  .article-share {
    grid-row-start: 2;
    width: 100%;
    vertical-align: inherit;
    position: relative;
    pointer-events: visible;
  }
  .article-paragraph {
    padding: 0;
    margin-left: inherit;
  }
  .article-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 40px;
  }
  #top.articulo .top-bg .top-text {
    max-width: inherit;
  }
  .products-name p {
    font-size: 14px;
  }
  .products-number {
    top: -10px;
    right: 15px;
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
  .products-grid {
    margin-left: -10px;
    margin-right: -10px;
  }
  .products-name {
    position: relative;
    width: calc(100% / 2 - 20px);
    margin: 10px;
    padding: 15px;
    border-radius: 6px;
  }
  .products-3 .products-name {
    width: calc(100% / 2 - 20px);
  }
  .about-bg p {
    width: inherit;
    font-size: 15px;
  }
  .about-bg h3 {
    font-size: 24px;
    margin: 0 0 20px 0;
  }
  .about-grid:nth-child(even) .about-bg {
    border-top-right-radius: 40px;
  }
  .about-grid:nth-child(odd) .about-bg {
    border-top-left-radius: 40px;
  }
  .about-bg {
    padding: 40px 20px;
    max-width: inherit;
    margin-top: -60px;
  }
  .about-info {
    display: block;
    width: 100%;
    padding: 0 20px !important;
  }
  .about-img {
    grid-row-start: 1;
    width: calc(100% + 8vw);
    min-height: 300px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }
  .about-grid:last-child {
    margin-bottom: 0;
  }
  .fancybox-slide {
    padding: 0 20px !important;
  }
  .video-container {
    height: 450px;
    margin-top: 40px;
  }
  .video-play {
    width: 50px;
    height: 50px;
  }
  .top-social .social-container a {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
  .top-social .social-container {
    grid-gap: 6px;
  }
  .top-social p {
    display: none;
  }
  .top-social {
    top: 40px;
    width: 40px;
    right: 40px;
    grid-gap: 12px;
    flex-direction: column;
  }
  .top-text p {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .top-text h1 {
    font-size: 36px;
    margin: 0 0 20px 0;
  }
  .top-text {
    max-width: inherit;
    padding: 40px 20px 60px 20px;
    top: 0;
    margin-bottom: 0;
    border-top-left-radius: inherit;
    border-bottom-left-radius: 40px;
  }
  #top .cover-bg,
  #full .cover-bg {
    min-height: 290px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
  }
  #top .container,
  #full .container {
    padding: 0 20px;
  }
  #top .top-bg,
  #full .top-bg {
    border-right: none;
  }
  #top,
  #full {
    padding: 50px 0 0 0;
    margin-top: 65px;
  }
  #full {
    margin-top: 0;
  }
  .footer-social a {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
  .footer-subtitle p {
    font-size: 18px;
  }
  .footer-row {
    grid-template-columns: 20px 1fr;
    grid-gap: 12px;
    margin-bottom: 15px;
  }
  .footer-row i {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
  .footer-column a {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .footer-column h3 {
    font-size: 20px;
    margin: 0 0 15px 0;
  }
  footer {
    padding: 50px 0;
  }
  .footer-logo {
    width: 200px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    grid-gap: 40px;
  }
  .btn-center {
    margin-top: 40px;
  }
  .btn-mid {
    padding: 14px 25px;
    border-radius: 6px;
    font-size: 16px;
  }
  .news-date i {
    margin-right: 8px;
  }
  .news-date {
    margin-top: 12px;
    font-size: 12px;
  }
  .news-info p {
    font-size: 15px;
  }
  .news-info h4 {
    font-size: 22px;
  }
  .news-info {
    padding-top: 20px;
  }
  .news-img {
    height: 280px;
  }
  .news-grid {
    grid-template-columns: 1fr;
    grid-gap: 20px;
    margin-top: 40px;
  }
  #lineas .slick-prev {
    left: -60px;
  }
  .slick-next:before {
    font-size: 15px;
  }
  .slick-prev:before {
    font-size: 15px;
  }
  .slick-arrow {
    width: 50px;
    height: 50px;
  }
  #lineas .slick-next {
    right: -60px;
  }
  .solution-slider {
    padding: 60px 0 0 0;
  }
  .solution-number {
    width: 50px;
    height: 50px;
    border-top-right-radius: 15px;
    font-size: 20px;
    top: 20px;
    left: 20px;
  }
  .solution-title {
    padding: 20px;
  }
  .solution-box {
    width: 320px;
    height: 400px;
    margin-right: 20px;
  }
  #home .container {
    width: 100%;
  }
  .slide-content h1 {
    font-size: 36px;
    margin: 0 0 20px 0;
  }
  .slide-content {
    padding: 40px 20px;
    border-top-left-radius: 40px;
  }
  .social-container {
    grid-gap: 6px;
  }
  .social-container a {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .slide-social {
    bottom: 40px;
    right: inherit;
    left: 20px;
    grid-gap: 12px;
    flex-direction: column;
  }
  .slide-social p {
    font-size: 16px;
  }
  #video-bg {
    top: -60px;
    left: 0;
    position: fixed;
    z-index: -1;
    height: 100%;
    width: auto;
    object-fit: contain;
  }
  #home {
    height: 70vh;
  }
  #topnav .mobile-menu li.submenu-3 a:before {
    content: '\e8db';
    font-family: 'fontello';
    font-size: 18px;
    position: absolute;
    right: 15px;
    left: inherit;
  }
  #topnav .mobile-menu li a:hover::after {
    width: 30%;
  }
  #topnav .mobile-menu li a::after {
    content: '';
    background-color: #f9dd4a;
    height: 3px;
    position: absolute;
    bottom: 0;
    left: 0.75vw;
    width: 0;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  #topnav .mobile-menu .submenu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-direction: column;
    width: 100%;
  }
  #topnav .mobile-group a {
    display: block;
    font-size: 22px;
    line-height: 50px;
    color: #2a2a86;
    position: relative;
    width: 100%;
  }
  #topnav .mobile-subtitle {
    display: block;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    width: 100%;
    color: #2a2a86;
  }
  #topnav .mobile-group.active {
    opacity: 1;
    pointer-events: visible;
  }
  #topnav .mobile-group {
    pointer-events: none;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  #topnav .mobile-container {
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  #topnav .mobile-close {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    padding: 0 10px;
    flex-direction: column;
    right: 0;
    top: 7px;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-color: #2a2a86;
    z-index: 20;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
  }
  #topnav .mobile-close:hover {
    background-color: #f9dd4a;
  }
  #topnav .mobile-close span:last-child {
    width: 100%;
    top: -2px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  #topnav .mobile-close span:first-child {
    top: 4px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #topnav .mobile-close span {
    height: 1px;
    width: 100%;
    background-color: #fff;
    display: block;
    margin-bottom: 5px;
    position: relative;
    -webkit-transition: -webkit-transform 0.5s ease-in-out;
    transition: transform 0.5s ease-in-out;
  }
  #topnav .mobile-menu {
    display: flex;
    height: 100%;
    width: 100%;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: initial;
    right: -100%;
    opacity: 0;
    padding: 0 20px;
    z-index: 30;
    transition: all 0.8s cubic-bezier(0.86, 0, 0.07, 1);
    -webkit-transition: all 0.8s cubic-bezier(0.86, 0, 0.07, 1);
    -webkit-box-shadow: -54px 0px 81px -29px rgba(0, 0, 0, 0.24);
    -moz-box-shadow: -54px 0px 81px -29px rgba(0, 0, 0, 0.24);
    box-shadow: -54px 0px 81px -29px rgba(0, 0, 0, 0.24);
  }
  #topnav .mobile-menu.active {
    right: 0;
    opacity: 1;
  }
  #topnav .navigation-menu > li .submenu li {
    width: 100%;
    max-width: 250px;
  }
  #topnav .menu-extras.vanish {
    opacity: 0;
    pointer-events: none;
  }
  #topnav .menu-extras .submenu-close.hover {
    pointer-events: visible !important;
    opacity: 1 !important;
  }
  #topnav.active .menu-extras.active span {
    background-color: #fff;
  }
  #topnav.active .menu-extras.active {
    background-color: #2a2a86;
  }
  #topnav .submenu-close {
    pointer-events: none;
    opacity: 0;
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #fff;
    z-index: 10000;
    border-radius: 100%;
    cursor: pointer;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
  }
  #topnav .submenu-close:hover {
    color: #fff;
  }
  #topnav .navigation-menu > li {
    width: 100%;
  }
  #topnav .navigation-menu > li .submenu li a:before,
  #topnav .mobile-menu > li .submenu li a:before {
    background-color: #fff;
  }
  #topnav .navigation-menu > li .submenu li a,
  #topnav .mobile-menu > li .submenu li a {
    font-size: 22px;
    color: #fff;
  }
  #topnav .navigation-menu > li .submenu,
  #topnav .mobile-menu > li .submenu {
    pointer-events: none;
    opacity: 0;
    position: fixed;
    top: 0;
    right: 0;
    left: initial;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #topnav .navigation-menu > li.has-submenu > a:before,
  #topnav .mobile-menu > li.has-submenu > a:before {
    content: '\e8db';
    font-family: 'fontello';
    font-size: 18px;
    position: absolute;
    right: 15px;
    left: inherit;
  }
  #topnav .navigation-menu > li > a,
  #topnav .mobile-menu > li > a {
    font-size: 22px;
    line-height: 50px;
    padding: 0 !important;
    width: 100%;
  }
  #topnav .navigation-menu {
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
  }
  #topnav .logo img {
    height: 40px;
  }
  #topnav .logo {
    padding: 12px 0;
  }
  #topnav .container {
    width: 100%;
  }
  #topnav {
    display: flex;
    align-items: center;
  }
  #topnav #navigation {
    height: 100%;
    width: 100%;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: initial;
    right: -100%;
    opacity: 0;
    padding: 0 20px;
    transition: all 0.8s cubic-bezier(0.86, 0, 0.07, 1);
    -webkit-transition: all 0.8s cubic-bezier(0.86, 0, 0.07, 1);
    -webkit-box-shadow: -54px 0px 81px -29px rgba(0, 0, 0, 0.24);
    -moz-box-shadow: -54px 0px 81px -29px rgba(0, 0, 0, 0.24);
    box-shadow: -54px 0px 81px -29px rgba(0, 0, 0, 0.24);
  }
  #topnav #navigation.active {
    right: 0;
    opacity: 1;
  }
  .navbar-toggle {
    display: flex;
  }
  .menu-extras {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-color: #2a2a86;
    z-index: 20;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  }
  #mask img {
    width: 240px;
  }
  .loader-container {
    margin-top: 40px;
  }
  .title {
    margin-bottom: 20px;
    max-width: inherit;
  }
  .title h2 {
    font-size: 30px;
  }
  .title h3 {
    font-size: 24px;
  }
  section {
    padding: 50px 0;
  }
  .container {
    padding: 0 20px;
    width: 100%;
  }
  body {
    font-size: 15px;
  }
}
@media (max-width: 640px) {
  .pass-grid {
    grid-template-columns: 1fr;
  }
}
