/**/
@media (max-width: 580px) {
  html {
    font-size: 12px;
  }
  body {
    padding-top: 114px;
  }
  body.feria-2023 {
    padding-top: 0 !important;
  }
  header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    background-color: #fff;
  }
  header .logo,
  .menuSearch .logo {
    width: 170px;
  }
  header .redes .icon,
  .menuSearch .redes .icon {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
    line-height: 2.2rem;
    margin-left: 0px;
  }
  header .logo-redes,
  .menuSearch .logo-redes {
    padding: 15px;
  }
  header .container,
  .menuSearch .container {
    padding: 0 !important;
  }
  header .search input,
  .menuSearch .search input {
    height: 30px;
    color: #3C6091;
  }
  header .search button,
  .menuSearch .search button {
    font-size: 1.2rem;
    line-height: 1rem;
  }
  header ul.nav.menuSearch,
  .menuSearch ul.nav.menuSearch {
    margin-bottom: 20px;
    margin: 20px -15px;
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
  }
  header ul.nav.menuSearch .nav-item.dropdown,
  .menuSearch ul.nav.menuSearch .nav-item.dropdown {
    width: 50%;
    text-align: center;
  }
  header ul.nav.menuSearch .nav-item.dropdown:first-child,
  .menuSearch ul.nav.menuSearch .nav-item.dropdown:first-child {
    border-right: 1px solid lightgray;
  }
  /*** Slider **/
  .sliderTop {
    padding: 0 !important;
    overflow: hidden;
  }
  #news .card,
  #resenas .card {
    height: 330px;
  }
  #news .card .card-image,
  #resenas .card .card-image {
    height: 50%;
  }
  #news .card .card-body .date,
  #resenas .card .card-body .date {
    text-align: center;
  }
  #news .card .card-body .title,
  #resenas .card .card-body .title {
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
  #galerias .splide__slide {
    padding: 0 35px !important;
  }
  #galerias .card {
    height: 325px;
  }
  #galerias .card .title {
    min-height: initial !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    line-height: 1.2em;
  }
  #galerias .card .card-image {
    height: 70%;
  }
  #grupo-de-trabajo .card {
    height: 260px !important;
  }
  #grupo-de-trabajo .card .card-body .title {
    padding: 14px 5px;
    font-size: 1rem !important;
    line-height: 1.4em;
    margin-bottom: 3px;
  }
  #grupo-de-trabajo .card .card-body .subtitle {
    padding: 5px;
    line-height: 1.1em;
    font-size: 1rem !important;
    font-weight: bold;
    margin-bottom: 3px;
  }
  #cumplimiento .col-6 {
    padding: 10px;
  }
  #cumplimiento .col-6 .btn-blanco {
    padding: 5px;
    margin: 10px auto;
    width: 100%;
    border-radius: 20px;
  }
  #cumplimiento .col-6 .card .title {
    font-size: 1.4rem;
    line-height: 1em;
  }
  footer {
    margin-top: 15px;
  }
  footer .top .logo-gemm {
    width: 90%;
    position: absolute;
    left: 50%;
    margin-left: -45%;
    top: -20px;
    background-color: #fff;
    border: 1px solid #e9ebf0;
    padding: 20px 50px;
    border-radius: 20px;
  }
  footer .top .arrowDown {
    top: 70%;
  }
  footer .infoContactMobile {
    position: relative;
    margin-bottom: 50px;
  }
  footer .infoContactMobile .contacto-footer {
    width: 90%;
    position: absolute;
    left: 50%;
    margin-left: -45%;
    bottom: -20px;
    background-color: #fff;
    border: 1px solid #e9ebf0;
    padding: 20px 50px;
    border-radius: 20px;
  }
  footer .logos-bottom {
    max-width: inherit;
    float: none;
    margin: 15px 0;
  }
  footer .logos-bottom img {
    margin: auto;
    display: block;
    max-width: 100%;
  }
  footer .logos-bottom {
    margin: 15px 0px !important;
  }
  footer .logos-bottom:first-child {
    width: 50% !important;
  }
  footer .logos-bottom:nth-child(2) {
    width: 50% !important;
  }
  footer .logos-bottom:nth-child(3) {
    width: 50% !important;
  }
  footer .logos-bottom:nth-child(3) img {
    width: 70% !important;
  }
  footer .logos-bottom:nth-child(4) {
    width: 50% !important;
  }
  footer .logos-bottom:nth-child(4) img {
    width: 70% !important;
    margin-top: 15px;
  }
  footer .logos-bottom:nth-child(5) {
    width: 50% !important;
  }
  footer .logos-bottom:nth-child(5) img {
    width: 50% !important;
    margin: 0 auto !important;
  }
  footer .logos-bottom:nth-child(6) {
    width: 50% !important;
    margin: 15px auto !important;
  }
  footer .logos-bottom:nth-child(6) img {
    width: 75% !important;
    margin-top: 0;
  }
  footer .logos-bottom:last-child {
    width: 100% !important;
    margin: 0;
  }
  footer .logos-bottom:last-child img {
    width: 32% !important;
  }
  footer .menuFooter {
    padding: 0 20px;
  }
  footer .redesContent {
    background-color: #3C6091;
    width: 100%;
    color: #fff;
    margin-top: 20px;
    padding-top: 10px;
    margin-bottom: 20px;
  }
  footer .redesContent .redes {
    text-align: center;
  }
  footer .redesContent .redes .icon {
    width: 3.7rem;
    height: 3.7rem;
    background-color: #fff;
    display: inline-block;
    border-radius: 100%;
    text-align: center;
    color: #3C6091;
    font-size: 2rem;
    line-height: 4rem;
    margin: 10px 5px;
  }
  footer #buttonTop button {
    bottom: 20px;
    left: 10px;
  }
  .contactTemplate .top {
    background-color: #3C6091;
    margin-bottom: 130px;
    padding-top: 20px;
  }
  .contactTemplate .top h2 {
    margin: 0 auto 10px;
  }
  .contactTemplate .top .arrowDown {
    top: auto;
    bottom: -70px;
    z-index: 3;
  }
  .contactTemplate .top .logo-gemm,
  .contactTemplate .top .contacto-footer {
    width: 90%;
    position: relative;
    margin: auto;
    bottom: auto;
    top: auto;
    background-color: #fff;
    border: 1px solid #e9ebf0;
    padding: 20px 50px;
    border-radius: 20px;
    left: auto;
    right: auto;
    z-index: 2;
    margin-bottom: 30px;
  }
  .contactTemplate .top > img {
    position: absolute;
    bottom: -90px;
    z-index: 1;
  }
  .contactTemplate .copyright {
    background-color: #fff;
    color: #3C6091;
    text-align: center;
    padding: 0;
    margin: 2rem 0 15px;
  }
  #contacto {
    margin-top: 0;
  }
  #contacto #formContactHome {
    padding: 0 10px;
  }
  #contacto #formContactHome .form-control {
    padding: 7px 20px;
    font-size: 1.4rem;
    color: var(--bs-secondary-color);
    border-radius: 20px;
    margin-bottom: 10px;
  }
  #contacto #formContactHome .form-group {
    text-align: center !important;
  }
  #contacto #formContactHome .form-group textarea {
    margin-top: 0;
  }
  #contacto #formContactHome p {
    text-align: left !important;
    margin-left: 10px;
  }
  #contacto #formContactHome button {
    margin: auto !important;
    float: none !important;
  }
  .banner-shape {
    height: 7rem;
  }
  .banner-shape img {
    margin-left: -50%;
    width: 100%;
  }
  .banner-shape h1 {
    font-family: 'Frutiger';
    font-size: 1.8rem;
    padding: 1rem 30%;
    letter-spacing: 1.5px;
    font-weight: bold;
  }
  .contactContent h2 {
    font-size: 1rem;
  }
  /*** MENU 
    #nav {
        position: fixed;
        top: 0;
        z-index: 100000000000;
        background-color: #fff;
        width: 70%;
        height: 100%;
    }
    ***/
  .menu #nav {
    position: fixed;
    top: 0;
    right: -70%;
    background: white;
    width: 70%;
    height: 100vh;
    padding: 40px;
    z-index: 2000;
    justify-content: flex-start !important;
    margin: 0;
    padding: 0;
    flex-direction: column;
    transition: all 300ms;
  }
  .menu #nav li {
    width: 100%;
    padding: 10px;
    border-top: 1px solid #e6e6e7;
    border-bottom: 1px solid #e6e6e7;
    border-right: 1px solid #e6e6e7;
    font-weight: bold;
  }
  .menu #nav li:last-child {
    border-bottom: 2px solid #e6e6e7;
  }
  .menu #nav li .nav-link {
    font-size: 1.2em !important;
    color: #9c9aa0 !important;
    padding: 0;
  }
  .menu #nav li .dropdown-menu {
    position: relative !important;
    inset: 0px auto auto 0px !important;
    margin: 10px -11px -15px !important;
    transform: none !important;
  }
  .menu #nav li .dropdown-menu li {
    height: auto;
  }
  .menu #nav li .dropdown-menu li .dropdown-item {
    padding: 0 20px;
    color: #999;
    font-size: 1.2rem;
  }
  .menu #nav li .iconCircle {
    color: #3C6091;
    border: 1px solid #9c9aa0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .menu .btn-close-menu {
    position: fixed;
    top: 25px;
    right: 11%;
    z-index: 100000;
    width: 35px;
    opacity: 1;
    background: transparent;
    border: none;
    display: block;
  }
  #back_menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 100;
  }
  .menu #btn_menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 300ms;
  }
  .menu #btn_menu:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  #videosContent .card .card-image {
    height: auto;
  }
  #videosContent .card .card-body {
    padding: 0;
  }
  #videosContent .card .card-body .title {
    margin-top: 15px;
  }
  .logoMobile {
    max-width: 100%;
    display: block;
    margin: auto;
  }
  .galleryPage #videosContent .card {
    height: auto;
  }
  .resenasPage .noticiasContent .card {
    height: auto;
    padding-bottom: 50px;
  }
  .resenasPage .noticiasContent .card .title {
    height: auto;
  }
  .dataContactPage .title {
    margin-bottom: 0 !important;
    margin-top: 1rem;
  }
  .dataContactPage .verMas {
    margin-top: 0 !important;
  }
  .pageContent .description {
    padding: 10px 20px;
  }
  .galeriaForo.card {
    height: auto;
    padding-bottom: 40px;
  }
  .ejesPage .eje .text-azul.pl-4.mb-4.font-bold {
    text-align: center !important;
  }
  .ejesPage .eje .text-azul.pl-4.mb-4.font-bold br {
    display: none;
  }
  .contactContent .banner-shape h1 {
    padding: 1rem 0 !important;
  }
  .nuestros-proyectos .banner-shape h1 {
    font-size: 1.8rem;
    padding: 0 20%;
    margin-top: 0.5rem;
  }
  .nuestros-proyectos .menuSecondary .submenu .nav-item {
    width: 50% !important;
  }
  .nuestros-proyectos .menuSecondary .submenu .nav-item:nth-child(5) {
    width: 100% !important;
  }
  .nuestros-proyectos .menuSecondary .submenu .nav-item .nav-link {
    padding: 5px 0px;
    line-height: 1em;
  }
  .nuestros-proyectos .menuSecondary .submenu .nav-item .nav-link.verMas {
    margin-top: 5px;
  }
  .nuestros-proyectos .menuSecondary .submenu .nav-item .nav-link.verMas::after {
    bottom: -3px;
  }
  .nuestros-proyectos .splide__arrow {
    top: 40% !important;
  }
  .iconRedes.sharrre {
    width: 34px;
    display: inline-block;
  }
  .icon-wa {
    display: inline-block;
    color: #9c9aa0 !important;
    font-size: 2rem;
  }
  .responseGallery {
    padding: 0 2rem;
  }
  .responseGallery .thumbnail {
    margin-left: auto;
    margin-right: auto;
  }
  .noticiasContent {
    padding: 0 2rem;
  }
  .nav a.verMas {
    font-size: 1.2rem;
  }
  .galeriaContent {
    padding: 0 2rem;
  }
  #fundacion1.accordion {
    margin-bottom: 2rem;
  }
  .searchPage h1 {
    padding: 0 20%;
  }
  .searchPage .videoSearch .flex-shrink-0,
  .searchPage .videoSearch .flex-grow-1 {
    flex: none !important;
    text-align: center;
  }
  .searchPage .videoSearch .flex-shrink-0 .title,
  .searchPage .videoSearch .flex-grow-1 .title {
    padding: 0 !important;
  }
  .searchPage .videoSearch .d-flex {
    display: block !important;
  }
  .searchPage .videoSearch .reproductor {
    width: 250px !important;
    margin: 20px auto;
  }
  .menuSecondary.fixedSecondary {
    top: 94px;
  }
  .menuSecondary.fixedSecondary .container,
  .menuSecondary.fixedSecondary .col-md-12 {
    padding: 0;
  }
  .menuSecondary.fixedSecondary h2 {
    font-size: 1.5rem;
    line-height: 1.2em;
    padding: 0.5em 1em;
    height: auto;
    margin-top: 0 !important;
  }
  .fixedSearch {
    position: fixed;
    top: 191px;
    z-index: 100;
    width: 100%;
    background-color: #fff;
  }
  .letterBig h1 {
    padding: 0;
    margin: 0;
  }
  .letterBig .menuSecondary .col-4 {
    width: 100% !important;
    margin-bottom: 20px;
  }
  .letterBig #videosContent .col-8,
  .letterBig #videosContent .col-6,
  .letterBig #videosContent .col-7,
  .letterBig #videosContent .col-4,
  .letterBig #videosContent .col-5 {
    width: 100% !important;
  }
  .letterBig .noticiasContent .card .moreInfo {
    position: relative;
  }
  .letterBig header ul.nav.menuSearch .nav-item.dropdown,
  .letterBig .menuSearch ul.nav.menuSearch .nav-item.dropdown {
    width: 100%;
  }
  .letterBig .menuSearch .nav .dropdown-item {
    padding-left: 50px !important;
    font-size: 1rem;
  }
  .letterBig .menuSearch .nav .dropdown-item.check::before {
    left: 12px;
  }
  .letterBig .galeriaContent .card {
    height: 35rem;
  }
  .letterBig .banner-shape {
    background-color: #3C6091;
  }
  .letterBig .modalPage .modal-content {
    padding: 15px 0px;
  }
  .letterBig #cumplimiento .col-6 {
    width: 100% !important;
  }
  .letterBig #news .card,
  .letterBig #resenas .card {
    height: 360px;
  }
  .letterBig .galeriaContent .card .title {
    height: 15.7rem;
  }
  header .nav .dropdown-menu#category,
  .menuSearch .nav .dropdown-menu#category {
    position: absolute;
    top: 45px !important;
    right: inherit;
    left: 0;
  }
  #modalGallery .splide .splide__slide img {
    max-width: 320px;
    max-height: 210px;
  }
  .btn.btn-whatsapp {
    font-size: 16px;
    line-height: 1.8em;
  }
}
