:root{
    --amarillo: #f4991e;
    --verde: #005854;
    --negro: #000000;
    --blanco: #ffffff;
}
@media (min-width: 700px){
    .logo-header{
        display: none;
    }
}
@media (max-width: 700px){
    html, body{
        overflow-x:hidden;
    }
    .banner-content {
        padding: 0px;
    }
    .banner-content h1 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    .cont-logo {
        transform: translate(-50%, -50%);
        top: 20%;
        left: 50%;
        width: 30%;
    }
    .cont-logo::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 140%;
        background: radial-gradient(circle, #ffffff96, transparent 58%)
    }
    .page-template-theme_inicio nav#header{
        background-color: #fff !important;
    }
    nav#header {
        top: 0;
        width: 100%;
    padding: 0;
    display: block;
    background-color: transparent !important;
    z-index: 9999;
    padding: 0 !important;
    }
    ul#menu-menupricipal {
        z-index: 9;
        position: relative;
    }
    li.menu-item{
        width: 100%;
    }
    button.navbar-toggler.collapsed {
        z-index: 9999;
        position: absolute;
    }
    button.navbar-toggler {
        z-index: 10;
        position: absolute;
        top: 1rem;
    left: 1rem;
    padding: 0;
    border: none;
    }
    /* .page-template-theme_inicio button.navbar-toggler.collapsed .bi-list::before {
        color:var(--verde) !important;
    } */
    .page-template-theme_inicio #header button{
        height: auto;
    width: auto;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;
    }
    .page-template-theme_inicio #header button.navbar-toggler.collapsed .bi-list::before{
        color:var(--verde);
    }
    button.navbar-toggler.collapsed .bi-list::before {
        color:var(--amarillo);
    }
    button.navbar-toggler .bi-list::before {
        color:transparent;
        font-size: 2rem;
    }
    .navbar-toggler {
        position: relative;
    }
    #header button{
        height: 50px;
    width: 50px;
    background: var(--verde);
    border: 1px solid var(--verde);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amarillo);
    box-shadow: 6px 6px 17px 0px #0000007a;
    }
    .navbar-toggler .bi-list{
        transition: all 0.3s;
    }
    
    .navbar-toggler::before,
    .navbar-toggler::after {
        content: "";
        background-color: var(--amarillo);
        position: absolute;
        width: 60%;
        height: 2.8px;
        left: 0.7rem;
        top: 1.3rem;
        opacity: 0;
        transition: all 0.3s;
    }
    .pagination-casos ul{
        gap: 10%;
    }
    .navbar-toggler.active::before,
    .navbar-toggler.active::after {
        opacity: 1;
        transition: all 0.3s;
    }
    
    .navbar-toggler.active::before {
        transform: rotate(45deg);
    }
    
    .navbar-toggler.active::after {
        transform: rotate(-45deg);
    }
    #principal-menu .row{
        background-color: var(--verde);
    }
    #myCarousel-inicio .carousel-caption {
        right: 2rem;
        bottom: 0;
        padding: 0;
        left: 2rem;
    }
    .p-slide-inicio {
        font-size: 0.6rem;
        padding-left: 2rem;
    }
    .p-slide-inicio b {
        font-size: 1.5rem;
    }
    h2.h2-slide-inicio {
        font-size: 1rem;
        margin-bottom: 0.7rem;
        line-height: 1;
    }
    .h2-slide-inicio b {
        font-size: 1.2rem;
    }
    a.btns-amarillos {
        font-size: 0.8rem;
        margin: 0;
        padding: 6px 20px;
    }
    .h2_ttcono {
        font-size: 1.6rem;
        margin: 0;
    }
    .image-container .overlay{
        padding-bottom: 5%;
    }
    .image-container:hover .visible-title{
        top: 20%;
        font-size: 0.85rem;
    }
    .image-container .visible-title{
        font-size: 0.95rem;
    }
    .p_decr {
        font-size: 0.7rem;
    }
    .card-body{
        padding: 0.8rem;
    }
    .h6_clientes {
        font-size: 1rem;
    }
    .h6_clientes b {
        font-size: 2.2rem;
    }
    .menu-footer li{
        text-align: center;
    }
    .wpcf7 .wpcf7-list-item{
        margin: auto 30px;
    }
    .div-cont-banner p {
        text-align: center;
        padding: 3%;
        font-size: 1.8rem;
    }
    .p-desc-banner, .txt-bannerquienes p {
        padding: 5%;
        font-size: 0.8rem;
    }
    .banner-internas, .page-template-theme_nuestros_clientes .banner-internas {
        height: 100%;
    }
    .list-servi .card h5 {
        font-size: 1.2rem;
        padding-right: 4rem;
    }
    .plus-card {
        right: 1rem;
        bottom: 0.5rem;
    }
    .modal-servicio h6{
        font-size: 0.9rem;
    }
    .section-lideres h2 {
        margin-inline: auto;
    }
    #slider-casos .item-caso {
        height: 300px;
    }
    .section-mas_casos .card h5 {
        font-size: 1.5rem;
    }
    .section-mas_casos h2 {
        font-size: 2rem;
        text-align: center;
    }
    .section-espec h2 {
        text-align: center;
    }
    .cont-nclient p{
        font-size: 0.9rem;
    }
    .page-template-theme_contactanos main {
        background-position: top;
        background-position-x: -40rem;
        background-position-y: -20rem;
        background-size: cover;
        background-repeat: no-repeat;
    }
    .page-template-theme_contactanos main h1 {
        font-size: 2rem;
        text-align: center;
    }
    .page-template-theme_contactanos main .content_contact p {
        font-size: 1.3rem;
        text-align: center;
    }
    .item-info i {
        font-size: 2.1rem;
    }
    .item-info h3 {
        font-size: 1.2rem;
    }
    #myTab-historia.nav-tabs {
        gap: 0;
    }
    #myTab-historia .nav-link {
        font-size: 0.9rem;
    }
    #myTab-historia .nav-link.active {
        border-bottom: solid 5px var(--amarillo);
    }
    .caract_5 h3{
        padding: 5rem 0rem;
    }
    .caracts h3 {
        font-size: 1.3rem;
    }
    .caracts .card, .caracts .card img{
        border-radius: 30px !important;
    }
    .txt-bannerquienes p {
        font-size: 0.8rem;
    }
    .timeline h3 {
        font-size: 1.3rem;
        margin: 0;
    }
    .timeline time {
        margin-bottom: 5px;
    }
    .card.card-equi .card-body h6{
        font-size: 0.65rem;
    }
    #search-results h2 {
        font-size: 0.8rem;
    }
    input#equipo-search::placeholder, input#equipo-search {
        font-size: 1.43rem;
    }
    .page-template-theme_gracias .content_contact h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }
    .page-template-theme_gracias .content_contact p {
        font-size: 1.1rem;
    }
    #myCarousel-inicio .cont-logo-inicio{
        display: none;
    }
    .logo-header a{
        display: flex;
        justify-content: center;
        padding: 0.3rem;
    }
    .logo-header a img{
        height: auto;
        width: 30%;
    }
    
    .page-template-theme_inicio div#principal-menu {
        margin-top: -4.5rem;
        position: relative;
    }
}
@media (max-width: 374px){
    a.btns-amarillos {
        font-size: 0.7rem;
    }
    .p-slide-inicio {
        font-size: 0.5rem;
        padding-left: 1.5rem;
    }
    h2.h2-slide-inicio {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        line-height: 0.9;
    }
    .h2-slide-inicio b {
        font-size: 0.9rem;
    }
    .h2_ttcono {
        font-size: 1.3rem;
    }
    .image-container .visible-title {
        font-size: 0.8rem;
    }
    .h6_clientes {
        font-size: 0.85rem;
    }
    .h6_clientes b {
        font-size: 1.9rem;
    }
    .image-container .overlay p{
        font-size: 0.5rem;
        line-height: 0.6rem;
    }
    .btns-blanco{
        font-size: 0.5rem;
    }
    .caracts h3 {
        font-size: 1rem;
    }
    .item-info h3 {
        font-size: 0.9rem;
    }
    
}


  /* GENERAL MEDIA QUERIES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  @media screen and (max-width: 599px) {
    .timeline ol li::after {
        content: "";
        position: absolute;
        top: 10px;
        top: 10px;
        left: 1px;
        bottom: 0;
        width: 20px;
        height: 20px;
        transform: translateY(-50%);
        border-radius: 50%;
        background: var(--verde);
      }
    .timeline ol,
    .timeline ol li {
      width: auto;
    }
  
    .timeline ol {
      padding: 0;
      transform: none !important;
      display: block;
    }
  
    .timeline ol li {
      display: block;
      height: auto;
      background: transparent;
    }
  
    .timeline ol li:first-child {
      margin-top: 25px;
    }
    .timeline ol li:last-child {
        width: 100%;
    }
    /* .timeline ol li:not(:first-child) {
      margin-left: auto;
    } */
  
    .timeline ol li div {
      position: static;
      width: 85%;
      height: auto !important;
      margin: 0 auto 25px;
    }
  
    .timeline ol li:nth-child(odd) div {
      transform: none;
    }
  
    .timeline ol li:nth-child(odd) div::before,
    .timeline ol li:nth-child(even) div::before {
      left: 11px;
      top: 2%;
      transform: translateX(-50%);
      border: none;
      border-left: 3px solid #7e7e7e;
      height: 114%;
    }
  
   
  }
  